Skip to content

Instantly share code, notes, and snippets.

@dittos
Created August 12, 2014 14:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dittos/60e80da8e8d11b475c9f to your computer and use it in GitHub Desktop.
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