Skip to content

Instantly share code, notes, and snippets.

@sokratisg
Created May 25, 2016 09:09
Show Gist options
  • Save sokratisg/6e3881faebcfa5211d2b0590980636a3 to your computer and use it in GitHub Desktop.
Save sokratisg/6e3881faebcfa5211d2b0590980636a3 to your computer and use it in GitHub Desktop.
description "uWSGI application server in Emperor mode"
start on runlevel [2345]
stop on runlevel [!2345]
respawn
setuid bots
setgid www-data
exec /usr/local/bin/uwsgi --emperor --emperor-nofollow /etc/uwsgi/apps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment