Skip to content

Instantly share code, notes, and snippets.

@alexcabrera
Created December 11, 2011 17:20
Show Gist options
  • Select an option

  • Save alexcabrera/1461646 to your computer and use it in GitHub Desktop.

Select an option

Save alexcabrera/1461646 to your computer and use it in GitHub Desktop.
/etc/supervisor/conf.d/<project_name>.conf
[program:<project_name>]
command=/home/deploy/.virtualenvs/<project_name>/bin/gunicorn_django -c deploy/gunicorn.conf.py
directory=/home/deploy/<project_name>/<project_name>
user=www-data
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/<project_name>.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment