From: Marcela Mašláňová Date: Tue, 13 Aug 2013 10:31:56 +0000 (+0200) Subject: KillMode in systemd unit file will enable to finish jobs executed by cron. Even if... X-Git-Tag: cronie1.4.12~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6896eaa4168b020ca3313603c6f8f156f92ce49f;p=cronie KillMode in systemd unit file will enable to finish jobs executed by cron. Even if cron dies, jobs should continue. Based on: https://bugzilla.redhat.com/show_bug.cgi?id=919290 --- diff --git a/contrib/cronie.systemd b/contrib/cronie.systemd index debbd8d..a73ff5b 100644 --- a/contrib/cronie.systemd +++ b/contrib/cronie.systemd @@ -5,6 +5,7 @@ After=syslog.target auditd.service systemd-user-sessions.service time-sync.targe [Service] EnvironmentFile=/etc/sysconfig/crond ExecStart=/usr/sbin/crond -n $CRONDARGS +KillMode=process [Install] WantedBy=multi-user.target