Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py-kms as a daemon for ubuntu 14.04LTS #1

Closed
ghost opened this issue Feb 12, 2018 · 1 comment
Closed

py-kms as a daemon for ubuntu 14.04LTS #1

ghost opened this issue Feb 12, 2018 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Feb 12, 2018

nano /etc/init/py-kms.conf

description "py-kms"
author  "myanaloglife"
env PYTHON_HOME=/<dir>
env PATH=$PYTHON_HOME:$PATH
start on runlevel [2345]
stop on runlevel [016]
chdir <path to py-kms>
exec $PYTHON_HOME/bin/python server.py <server address> <server port> -v DEBUG --logfile /var/log/py-kms_server.log
respawn

initctl reload-configuration
start py-kms

@ghost ghost changed the title py-kms as a daemon for ubuntu 14.04LTS-16.04LTS py-kms as a daemon for ubuntu 14.04LTS Feb 12, 2018
@SystemRage
Copy link
Owner

Added this method that uses Upstart to wiki.
To remember that can also be created a service with SysV and systemd if distro allows it.

rekkun pushed a commit to rekkun/py-kms that referenced this issue Oct 15, 2020
tuaris pushed a commit to tuaris/py-kms that referenced this issue Dec 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant