aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2016-06-14 03:16:02 -0300
committerdequis <dx@dxzone.com.ar>2016-06-14 03:16:02 -0300
commitad5a9078ff68c2556a2b692855f04938efc06e3d (patch)
treead3ba1fcbf4dbba2d8632bd8b373a0bdad96040f /init
parent5dbf66ed84bc44ff44a2471355601f619087cafb (diff)
systemd: Stop murdering the whole control group on stop
With this change, restarting or upgrading bitlbee doesn't kill child processes anymore, keeping the behavior of sysv scripts. This is desirable in public servers, where you probably want to upgrade the master process without disconnecting everyone.
Diffstat (limited to 'init')
-rw-r--r--init/bitlbee.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/bitlbee.service.in b/init/bitlbee.service.in
index 64117fcf..c89d52fd 100644
--- a/init/bitlbee.service.in
+++ b/init/bitlbee.service.in
@@ -4,6 +4,7 @@ After=syslog.target
[Service]
ExecStart=@sbindir@bitlbee -F -n
+KillMode=process
[Install]
WantedBy=multi-user.target