Last active
August 29, 2015 14:13
-
-
Save danielthiel/ca8e87e165e4423891c6 to your computer and use it in GitHub Desktop.
An example for [supervisor](http://supervisord.org/).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[program:myconf] | |
command=/root/to/my/folder/startup.py | |
directory=/root/to/my/folder/ | |
user=myusername |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mv myconf.conf /etc/supervisor/conf.d/myconf.conf | |
supervisorctl reread | |
supervisorctl update | |
supervisorctl start myconf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment