Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
description "Myscript"
start on runlevel [2345]
stop on runlevel [06]
respawn
respawn limit 10 5
script
chdir /srv/myscript
exec env/bin/gunicorn myscript.wsgi:application -b 0.0.0.0:8000 -w 4
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment