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. --- src/core/kill.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core/kill.h') diff --git a/src/core/kill.h b/src/core/kill.h index 41773f07ae..d5f125fa41 100644 --- a/src/core/kill.h +++ b/src/core/kill.h @@ -32,6 +32,7 @@ typedef enum KillMode { /* The kill mode is a property of a unit. */ KILL_CONTROL_GROUP = 0, KILL_PROCESS, + KILL_MIXED, KILL_NONE, _KILL_MODE_MAX, _KILL_MODE_INVALID = -1 -- cgit v1.2.3-54-g00ecf