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