Skip to content

Instantly share code, notes, and snippets.

@achew22
achew22 / gunicorn-upstart.conf.template
Created February 26, 2012 00:23 — forked from m0n5t3r/gunicorn-upstart.conf.template
template for a gunicorn upstart job that can run several instances of a django application
# %(mysite)s - run %(mysite)s instances (default is the main production instance)
#
# This runs gunicorn-django for %(mysite)s; to install:
# * sudo ln -s <this file> /etc/init/%(mysite)s
# * sudo initctl reload-configuration
#
# it expects the following directory layout:
#
# /home/%(mysite)s/public_html
# \-env -> virtualenv