Created
June 14, 2012 20:50
-
-
Save ashwoods/2932860 to your computer and use it in GitHub Desktop.
django supervisor example
This file contains 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
# This file is autogenerated by Puppet. Manual changes will be overwritten! | |
[program:gunicorn-bribespot] | |
command=/opt/bribespot/.virtualenvs/bribespot/bin/gunicorn_django -w 4 -b 0.0.0.0:9000 | |
numprocs=1 | |
priority=999 | |
autostart=true | |
autorestart=true | |
startsecs=1 | |
startretries=3 | |
exitcodes=0,2 | |
stopsignal=TERM | |
stopwaitsecs=10 | |
user=bribespot | |
redirect_stderr=true | |
stdout_logfile=/var/log/supervisor/gunicorn-bribespot/gunicorn-bribespot.out | |
stdout_logfile_maxbytes=250MB | |
stdout_logfile_backups=10 | |
stderr_logfile=/var/log/supervisor/gunicorn-bribespot/gunicorn-bribespot.err | |
stderr_logfile_maxbytes=250MB | |
stderr_logfile_backups=10 | |
environment=LANG=en_US.UTF-8, LC_ALL=en_US.UTF-8, LC_LANG=en_US.UTF-8 | |
directory=/opt/bribespot/bribespotweb/bribespotweb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment