Skip to content

Instantly share code, notes, and snippets.

@rod-dot-codes
Created June 8, 2013 18:29
Show Gist options
  • Save rod-dot-codes/5736127 to your computer and use it in GitHub Desktop.
Save rod-dot-codes/5736127 to your computer and use it in GitHub Desktop.
Template for Supervisor, UWSGI Django
[program:{{module}}]
command =uwsgi --chdir=/code/{{module}} --logto=/var/log/{{module}}.uwsgi.log --module={{module}}.wsgi:application --env DJANGO_SETTINGS_MODULE={{module}}.settings --socket={{server}} --processes={{processes}} --uid={{uid}} --gid={{gid}} --harakiri={{harakiri}} --home={{home}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment