Skip to content

Instantly share code, notes, and snippets.

@Exirel
Created September 21, 2015 15:37
Show Gist options
  • Save Exirel/05f6053803b843410986 to your computer and use it in GitHub Desktop.
Save Exirel/05f6053803b843410986 to your computer and use it in GitHub Desktop.
Local upstart configuration file used to serve a uwsgi python application
script
# SET ENV
. /home/fstrzelecki/.virtualenvs/exirel/bin/activate
# UPSTART CONFIG
respawn
respawn limit 5 10
# RUN UWSGI
exec uwsgi --master --die-on-term --socket :8091 --module exirel.wsgi
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment