From 658f26b828fdd7007cfe82d794f610525b21cb99 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 24 Apr 2015 16:12:28 +0200 Subject: 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 --- units/systemd-importd.service.in | 1 + units/systemd-udevd.service.in | 1 + 2 files changed, 2 insertions(+) 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 -- cgit v1.2.3-54-g00ecf