Skip to content

Instantly share code, notes, and snippets.

@silpol
Forked from woodb/uwsgi.conf
Last active August 28, 2015 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silpol/ba89b87a65194e87a7d4 to your computer and use it in GitHub Desktop.
Save silpol/ba89b87a65194e87a7d4 to your computer and use it in GitHub Desktop.
Configuration file for uWSGI
description "uWSGI"
start on runlevel [2345]
stop on runlevel [06]
respawn
env UWSGI=/usr/bin/uwsgi
env LOGTO=/var/log/uwsgi/emperor.log
exec $UWSGI --master --emperor /etc/uwsgi/apps-enabled --die-on-term --uid nginx --gid nginx --logto $LOGTO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment