Created
August 20, 2016 10:21
-
-
Save virtualdreams/6cc2455eaf716c94c0ef4c0137eb11df to your computer and use it in GitHub Desktop.
systemd service for uwsgi emperor
This file contains 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 | |
After=syslog.target | |
[Service] | |
ExecStart=/usr/bin/uwsgi --json /etc/uwsgi/emperor.json | |
# Requires systemd version 211 or newer | |
RuntimeDirectory=uwsgi | |
Restart=always | |
KillSignal=SIGQUIT | |
Type=notify | |
StandardError=syslog | |
NotifyAccess=all | |
[Install] | |
WantedBy=multi-user.target | |
# { | |
# "uwsgi": { | |
# "emperor": "/etc/uwsgi/apps-enabled" | |
# } | |
#} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment