Skip to content

Instantly share code, notes, and snippets.

@danielthiel
Last active August 29, 2015 14:13
Show Gist options
  • Save danielthiel/ca8e87e165e4423891c6 to your computer and use it in GitHub Desktop.
Save danielthiel/ca8e87e165e4423891c6 to your computer and use it in GitHub Desktop.
An example for [supervisor](http://supervisord.org/).
[program:myconf]
command=/root/to/my/folder/startup.py
directory=/root/to/my/folder/
user=myusername
# 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