Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Example Upstart Configuration
start on runlevel [2345]
stop on runlevel [016]
respawn
setuid www-data
setgid www-data
env PORT=11000
chdir /home/ditto/animeta
exec env/bin/gunicorn animeta.wsgi --bind 127.0.0.1:$PORT --error-logfile -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment