]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: set KillMode=mixed for our daemons that fork worker processes
authorLennart Poettering <lennart@poettering.net>
Fri, 24 Apr 2015 14:12:28 +0000 (16:12 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 24 Apr 2015 14:14:46 +0000 (16:14 +0200)
The daemons should really have the time to kill the workers first,
before systemd does it, hence use KillMode=mixed for these daemons.

https://bugs.freedesktop.org/show_bug.cgi?id=90051

units/systemd-importd.service.in
units/systemd-udevd.service.in

index 80d97c8d9d3e16723b27b9b90b9bfa0d89187e1f..403f15316d78ee4a71d391670f559d3c86030dfb 100644 (file)
@@ -15,3 +15,4 @@ BusName=org.freedesktop.import1
 CapabilityBoundingSet=CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD CAP_SETFCAP CAP_SYS_ADMIN CAP_SETPCAP CAP_DAC_OVERRIDE
 NoNewPrivileges=yes
 WatchdogSec=1min
+KillMode=mixed
index a1330440056296de888a009383828ba0e5ff6143..32f04d901a05bf7671e6ab557ce448f53e1eca9c 100644 (file)
@@ -22,3 +22,4 @@ Restart=always
 RestartSec=0
 ExecStart=@rootlibexecdir@/systemd-udevd
 MountFlags=slave
+KillMode=mixed