Skip to content

Instantly share code, notes, and snippets.

@skyler
Created April 4, 2014 17:42
Show Gist options
  • Save skyler/9979456 to your computer and use it in GitHub Desktop.
Save skyler/9979456 to your computer and use it in GitHub Desktop.
# Emperor uWSGI script
description "uWSGI Emperor"
start on runlevel [2345]
stop on runlevel [06]
exec /usr/local/bin/uwsgi --uid uwsgi --gid nginx --emperor /etc/uwsgi/sites --vassals-include /etc/uwsgi/default.ini --vacuum --logto /var/log/uwsgi.log --die-on-term
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment