summaryrefslogtreecommitdiff
path: root/units/user@.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-01-29 13:38:55 +0100
committerLennart Poettering <lennart@poettering.net>2014-01-29 13:42:06 +0100
commit58ea275a68cd242ad60161bcb7582614d1d89f13 (patch)
tree13573e930a8e30caf8e47e0658cc0522575bf713 /units/user@.service.in
parent373f14222e6ff11ad0b129b033e01f75f7c504f3 (diff)
core: introduce new KillMode=mixed which sends SIGTERM only to the main process, but SIGKILL to all daemon processes
This should fix some race with terminating systemd --user, where the system systemd instance might race against the user systemd instance when sending SIGTERM.
Diffstat (limited to 'units/user@.service.in')
-rw-r--r--units/user@.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/user@.service.in b/units/user@.service.in
index bfc9b709d2..8091ce1a0b 100644
--- a/units/user@.service.in
+++ b/units/user@.service.in
@@ -15,3 +15,4 @@ PAMName=systemd-user
Type=notify
ExecStart=-@rootlibexecdir@/systemd --user
Slice=user-%i.slice
+KillMode=mixed