Skip to content

Instantly share code, notes, and snippets.

@fitoria
Created May 11, 2012 16:55
Show Gist options
  • Save fitoria/acd5aaefc7f31b5848c6 to your computer and use it in GitHub Desktop.
Save fitoria/acd5aaefc7f31b5848c6 to your computer and use it in GitHub Desktop.
supervisor conf
[program:myapp]
command=/usr/local/sbin/uwsgi
--module myapp.deploy.wsgi
--socket 10.1.2.3:10000
--master
--harakiri 120
--max-requests 5000
user=www-data
autostart=true
autorestart=true
stdout_logfile=/sites/myapp.com/logs/uwsgi.log
redirect_stderr=true
stopsignal=QUIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment