[Pkg-cron-devel] [pkg-cron] 01/02: d/cron.service: Use KillMode=process to kill only the daemon

Christian Kastner chrisk-guest at moszumanska.debian.org
Sun May 3 13:40:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

chrisk-guest pushed a commit to branch master
in repository pkg-cron.

commit ffe740d2908ba9ed5c6dc51983f68a2401214173
Author: Christian Kastner <ckk at kvr.at>
Date:   Sun May 3 15:09:37 2015 +0200

    d/cron.service: Use KillMode=process to kill only the daemon
    
    The default of KillMode=control-group kills all the processes in the control
    group, for example when restarting the daemon. This is a deviation from past
    behavior we do not want.
    
    Closes: #783683
---
 debian/cron.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/cron.service b/debian/cron.service
index 3bca716..f06473d 100644
--- a/debian/cron.service
+++ b/debian/cron.service
@@ -6,6 +6,7 @@ Documentation=man:cron(8)
 EnvironmentFile=-/etc/default/cron
 ExecStart=/usr/sbin/cron -f $EXTRA_OPTS
 IgnoreSIGPIPE=false
+KillMode=process
 
 [Install]
 WantedBy=multi-user.target

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cron/pkg-cron.git



More information about the Pkg-cron-devel mailing list