From 0cc4fb8d07146d7839ccbf4d37586aadf7c11e7806253fe8c819134d0ac0c849 Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Tue, 7 May 2019 03:03:41 +0000 Subject: [PATCH] Accepting request 699518 from home:lachs0r:branches:server:http - 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 --- uwsgi.changes | 6 ++++++ uwsgi.service | 2 ++ 2 files changed, 8 insertions(+) diff --git a/uwsgi.changes b/uwsgi.changes index 53d9517..e54fde7 100644 --- a/uwsgi.changes +++ b/uwsgi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 30 04:48:25 UTC 2019 - Martin Herkt <9+suse@cirno.systems> + +- Fix systemd kill signal (uwsgi does not die on SIGTERM) +- Add reload command to systemd service + ------------------------------------------------------------------- Sat Mar 16 00:45:25 UTC 2019 - James Oakley diff --git a/uwsgi.service b/uwsgi.service index 9d99c2c..9af9735 100644 --- a/uwsgi.service +++ b/uwsgi.service @@ -7,6 +7,8 @@ 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