Skip to content

Instantly share code, notes, and snippets.

@woodb
Created July 8, 2012 16:46
Show Gist options
  • Save woodb/3071737 to your computer and use it in GitHub Desktop.
Save woodb/3071737 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