Created
June 26, 2017 15:02
-
-
Save puilp0502/e32763c7d0b123ad2194c05ff521f289 to your computer and use it in GitHub Desktop.
uwsgi emperor mode systemd definition
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=uWSGI Emperor service | |
[Service] | |
RuntimeDirectory=uwsgi | |
RuntimeDirectoryMode=755 | |
User=emperor | |
Group=www-data | |
ExecStart=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites | |
Restart=always | |
KillSignal=SIGQUIT | |
Type=notify | |
NotifyAccess=all | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment