Created
September 21, 2015 15:37
-
-
Save Exirel/05f6053803b843410986 to your computer and use it in GitHub Desktop.
Local upstart configuration file used to serve a uwsgi python application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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