Skip to content

Instantly share code, notes, and snippets.

@AndrewIngram
Created August 1, 2012 22:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndrewIngram/3231297 to your computer and use it in GitHub Desktop.
Save AndrewIngram/3231297 to your computer and use it in GitHub Desktop.
supervisor script
;[program:andrewingram-gunicorn]
;command=/var/www/andrewingram.net/bin/gunicorn_django /var/www/andrewingram.net/src/andrewingram/andrewingram/settings.py
;directory=/var/www/andrewingram.net
;logfile=/var/www/andrewingram.net/log/supervisor.log
;user=deployer
;autostart=true
;autorestart=true
;redirect_stderr=True
[program:andrewingram-uwsgi]
command=/var/www/andrewingram.net/bin/uwsgi --socket 127.0.0.1:9090 --wsgi-file src/andrewingram/andrewingram/wsgi.py --pyhome /var/www/andrewingram.net --master --processes 4
directory=/var/www/andrewingram.net
logfile=/var/www/andrewingram.net/log/uwsgi.log
user=deployer
autostart=true
autorestart=true
redirect_stderr=True
stopsignal=QUIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment