mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
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:
parent
007c6337c6
commit
658f26b828
Notes:
Lennart Poettering
2015-05-21 19:08:43 +02:00
Backport: bugfix
@ -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
|
CapabilityBoundingSet=CAP_CHOWN CAP_FOWNER CAP_FSETID CAP_MKNOD CAP_SETFCAP CAP_SYS_ADMIN CAP_SETPCAP CAP_DAC_OVERRIDE
|
||||||
NoNewPrivileges=yes
|
NoNewPrivileges=yes
|
||||||
WatchdogSec=1min
|
WatchdogSec=1min
|
||||||
|
KillMode=mixed
|
||||||
|
@ -22,3 +22,4 @@ Restart=always
|
|||||||
RestartSec=0
|
RestartSec=0
|
||||||
ExecStart=@rootlibexecdir@/systemd-udevd
|
ExecStart=@rootlibexecdir@/systemd-udevd
|
||||||
MountFlags=slave
|
MountFlags=slave
|
||||||
|
KillMode=mixed
|
||||||
|
Loading…
Reference in New Issue
Block a user