summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-24 16:12:28 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-24 16:14:46 +0200
commit658f26b828fdd7007cfe82d794f610525b21cb99 (patch)
treef1d78112ac73600c4cdd611f60d0d0a832d09a8d /units
parent007c6337c6ddf2eb1e7db4d9cd00b044d6d8e165 (diff)
units: set KillMode=mixed for our daemons that fork worker processes
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
Diffstat (limited to 'units')
-rw-r--r--units/systemd-importd.service.in1
-rw-r--r--units/systemd-udevd.service.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/units/systemd-importd.service.in b/units/systemd-importd.service.in
index 80d97c8d9d..403f15316d 100644
--- a/units/systemd-importd.service.in
+++ b/units/systemd-importd.service.in
@@ -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
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
index a133044005..32f04d901a 100644
--- a/units/systemd-udevd.service.in
+++ b/units/systemd-udevd.service.in
@@ -22,3 +22,4 @@ Restart=always
RestartSec=0
ExecStart=@rootlibexecdir@/systemd-udevd
MountFlags=slave
+KillMode=mixed