From 58ea275a68cd242ad60161bcb7582614d1d89f13 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 29 Jan 2014 13:38:55 +0100 Subject: 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. --- units/user@.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'units/user@.service.in') 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 -- cgit v1.2.3-54-g00ecf