Created
January 10, 2011 05:41
-
-
Save winhamwr/772423 to your computer and use it in GitHub Desktop.
supervisord configuration for kegbot
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
[group:kegbot] | |
programs=kegbot_core,kegboard_daemon,kegbot_runserver | |
[program:kegbot_core] | |
command=/opt/kegbot/env/bin/kegbot_core.py | |
directory=/opt/kegbot | |
user=kegbot | |
environment=HOME='/home/kegbot' | |
numprocs=1 | |
autostart=true | |
autorestart=true | |
startsecs=10 | |
stopsignal=INT | |
; Need to wait for currently executing tasks to finish at shutdown. | |
stopwaitsecs = 10 | |
; Set priority above kegboard_daemon | |
priority=990 | |
[program:kegboard_daemon] | |
command=/opt/kegbot/env/bin/kegboard_daemon.py | |
environment=HOME="/home/kegbot" | |
directory=/opt/kegbot | |
user=root | |
numprocs=1 | |
autostart=true | |
autorestart=true | |
startsecs=10 | |
stopsignal=INT | |
; Lower priority than kegbot_core | |
priority=991 | |
[program:kegbot_runserver] | |
command=/opt/kegbot/env/bin/kegbot-admin.py runserver 0.0.0.0:8000 | |
directory=/opt/kegbot | |
user=kegbot | |
environment=HOME='/home/kegbot' | |
numprocs=1 | |
autostart=true | |
autorestart=true | |
startsecs=10 | |
stopsignal=INT | |
; Need to wait for currently executing tasks to finish at shutdown. | |
stopwaitsecs = 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment