about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--examples/public-inbox-httpd@.service1
-rw-r--r--examples/public-inbox-nntpd@.service1
-rw-r--r--examples/unsubscribe-psgi@.service1
3 files changed, 3 insertions, 0 deletions
diff --git a/examples/public-inbox-httpd@.service b/examples/public-inbox-httpd@.service
index 3bb70726..6222de59 100644
--- a/examples/public-inbox-httpd@.service
+++ b/examples/public-inbox-httpd@.service
@@ -24,6 +24,7 @@ User = nobody
 Group = nogroup
 ExecReload = /bin/kill -HUP $MAINPID
 TimeoutStopSec = 3600
+KillMode = process
 
 [Install]
 WantedBy = multi-user.target
diff --git a/examples/public-inbox-nntpd@.service b/examples/public-inbox-nntpd@.service
index 078e920a..3e203e0b 100644
--- a/examples/public-inbox-nntpd@.service
+++ b/examples/public-inbox-nntpd@.service
@@ -26,6 +26,7 @@ User = nobody
 Group = nogroup
 ExecReload = /bin/kill -HUP $MAINPID
 TimeoutStopSec = 3600
+KillMode = process
 
 [Install]
 WantedBy = multi-user.target
diff --git a/examples/unsubscribe-psgi@.service b/examples/unsubscribe-psgi@.service
index 2dc4270f..acc29e8e 100644
--- a/examples/unsubscribe-psgi@.service
+++ b/examples/unsubscribe-psgi@.service
@@ -15,6 +15,7 @@ ExecStart = /usr/local/bin/public-inbox-httpd -W0 /etc/unsubscribe.psgi
 Sockets = unsubscribe-psgi.socket
 # we need to modify the mlmmj spool
 User = mlmmj
+KillMode = process
 
 [Install]
 WantedBy = multi-user.target