diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-24 02:31:42 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-24 02:31:42 +0200 |
commit | b29a8e58fa7c30dfcc4e4b1ccf9f409dc2935f8a (patch) | |
tree | 34677d54d41f37e0f6a98b66aebdef504cfacd8e /service.c | |
parent | e93bc5a61f8589f01e779ab2b5ffc7c7ca072074 (diff) |
service: only kill the main daemon for legacy sysv services, so that we don't kill sshd sessions
Diffstat (limited to 'service.c')
-rw-r--r-- | service.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -661,6 +661,7 @@ static int service_load_sysv_path(Service *s, const char *path) { /* Special setting for all SysV services */ s->valid_no_process = true; + s->kill_mode = KILL_PROCESS_GROUP; /* Don't timeout special services during boot (like fsck) */ if (s->sysv_runlevels && !chars_intersect("12345", s->sysv_runlevels)) |