16 lines
287 B
SYSTEMD
16 lines
287 B
SYSTEMD
|
[Unit]
|
||
|
Description=uWSGI Emperor
|
||
|
After=syslog.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/bin/uwsgi --ini /etc/uwsgi/emperor.ini
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
ExecStop=/bin/kill -INT $MAINPID
|
||
|
Restart=always
|
||
|
Type=notify
|
||
|
NotifyAccess=all
|
||
|
KillSignal=SIGQUIT
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|