PKGBUILDs/aur/uwsgi/emperor.uwsgi.service

18 lines
341 B
SYSTEMD
Raw Normal View History

2012-10-13 22:34:39 +00:00
[Unit]
2013-05-05 20:15:22 +00:00
Description=uWSGI Emperor Service
2012-10-13 22:34:39 +00:00
After=syslog.target
[Service]
2013-05-05 20:15:22 +00:00
ExecStartPre=/bin/mkdir -p /run/uwsgi
2012-10-13 22:34:39 +00:00
ExecStart=/usr/bin/uwsgi --ini /etc/uwsgi/emperor.ini
2013-05-05 20:15:22 +00:00
SuccessExitStatus=30
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
2012-10-13 22:34:39 +00:00
Restart=always
Type=notify
StandardError=syslog
2013-05-05 20:15:22 +00:00
NotifyAccess=all
2012-10-13 22:34:39 +00:00
[Install]
WantedBy=multi-user.target