Skip to content

Instantly share code, notes, and snippets.

@rudyryk
Created June 7, 2013 21:30
Show Gist options
  • Save rudyryk/5732553 to your computer and use it in GitHub Desktop.
Save rudyryk/5732553 to your computer and use it in GitHub Desktop.
Emperor uWSGI UpStart script for Ubuntu example
# Emperor uWSGI script /etc/init/uwsgi-emperor.conf
description "uWSGI Emperor"
start on runlevel [2345]
stop on runlevel [06]
env UWSGI_VASSAL_SOCKET=/tmp/uwsgi/%n.sock
exec uwsgi --master --die-on-term --emperor "/home/*/uwsgi/*.ini" --emperor-tyrant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment