16 lines
336 B
SYSTEMD
16 lines
336 B
SYSTEMD
|
# systemd unit for running uwsgi in emperor mode
|
||
|
# typical location of this file would be /etc/systemd/system/uwsgi.service
|
||
|
|
||
|
[Unit]
|
||
|
Description=uWSGI Emperor service
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/local/bin/uwsgi --emperor /etc/uwsgi/sites
|
||
|
Restart=always
|
||
|
KillSignal=SIGQUIT
|
||
|
Type=notify
|
||
|
NotifyAccess=all
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|