0cc4fb8d07
- Fix systemd kill signal (uwsgi does not die on SIGTERM) - Add reload command to systemd service OBS-URL: https://build.opensuse.org/request/show/699518 OBS-URL: https://build.opensuse.org/package/show/server:http/uwsgi?expand=0&rev=83
15 lines
358 B
Desktop File
15 lines
358 B
Desktop File
[Unit]
|
|
Description=Application Container Server for Networked/Clustered Web Applications
|
|
Documentation=https://uwsgi-docs.readthedocs.io/en/latest/
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/uwsgi --autoload --ini /etc/uwsgi/uwsgi.ini
|
|
Restart=always
|
|
Type=notify
|
|
NotifyAccess=all
|
|
KillSignal=SIGINT
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|