chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93bc5a
)
service: only kill the main daemon for legacy sysv services, so that we don't kill...
author
Lennart Poettering
<lennart@poettering.net>
Sat, 24 Apr 2010 00:31:42 +0000
(
02:31
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Sat, 24 Apr 2010 00:31:42 +0000
(
02:31
+0200)
service.c
patch
|
blob
|
history
diff --git
a/service.c
b/service.c
index 83a11e94f9356cf88813fb027bfbbfd89f1abb3c..298cc27edb56595ce3ade03d5a34667caeb861fc 100644
(file)
--- a/
service.c
+++ b/
service.c
@@
-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))