Blame SOURCES/0174-units-set-KillMode-mixed-for-our-daemons-that-fork-w.patch

17b0f1
From b0204b37bd8275f95885548277acf5bda383173d Mon Sep 17 00:00:00 2001
17b0f1
From: Lennart Poettering <lennart@poettering.net>
17b0f1
Date: Fri, 24 Apr 2015 16:12:28 +0200
17b0f1
Subject: [PATCH] units: set KillMode=mixed for our daemons that fork worker
17b0f1
 processes
17b0f1
17b0f1
The daemons should really have the time to kill the workers first,
17b0f1
before systemd does it, hence use KillMode=mixed for these daemons.
17b0f1
17b0f1
https://bugs.freedesktop.org/show_bug.cgi?id=90051
17b0f1
(cherry picked from commit 658f26b828fdd7007cfe82d794f610525b21cb99)
17b0f1
17b0f1
Cherry-picked from: 7396ceb
17b0f1
Resolves: #1222517
17b0f1
---
17b0f1
 units/systemd-importd.service.in | 1 +
17b0f1
 units/systemd-udevd.service.in   | 1 +
17b0f1
 2 files changed, 2 insertions(+)
17b0f1
17b0f1
diff --git a/units/systemd-importd.service.in b/units/systemd-importd.service.in
17b0f1
index 26759ea0fb..5534a49ede 100644
17b0f1
--- a/units/systemd-importd.service.in
17b0f1
+++ b/units/systemd-importd.service.in
17b0f1
@@ -18,3 +18,4 @@ WatchdogSec=1min
17b0f1
 PrivateTmp=yes
17b0f1
 ProtectSystem=full
17b0f1
 ProtectHome=yes
17b0f1
+KillMode=mixed
17b0f1
diff --git a/units/systemd-udevd.service.in b/units/systemd-udevd.service.in
17b0f1
index a133044005..32f04d901a 100644
17b0f1
--- a/units/systemd-udevd.service.in
17b0f1
+++ b/units/systemd-udevd.service.in
17b0f1
@@ -22,3 +22,4 @@ Restart=always
17b0f1
 RestartSec=0
17b0f1
 ExecStart=@rootlibexecdir@/systemd-udevd
17b0f1
 MountFlags=slave
17b0f1
+KillMode=mixed