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
This commit is contained in:
Lennart Poettering 2015-04-24 16:12:28 +02:00
parent 007c6337c6
commit 658f26b828
Notes: Lennart Poettering 2015-05-21 19:08:43 +02:00
Backport: bugfix
2 changed files with 2 additions and 0 deletions

View 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

View file

@ -22,3 +22,4 @@ Restart=always
RestartSec=0
ExecStart=@rootlibexecdir@/systemd-udevd
MountFlags=slave
KillMode=mixed