[Pkg-cron-devel] [pkg-cron] 04/12: Allow automatic restarts from systemd

Javier Fernandez-Sanguino Peña jfs at moszumanska.debian.org
Mon Mar 12 22:52:32 UTC 2018


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

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

commit cf794ff3f5341c6f764f7ee7070dcc4aa810c7de
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Mon Mar 12 23:13:37 2018 +0100

    Allow automatic restarts from systemd
---
 debian/cron.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/cron.service b/debian/cron.service
index 8a1bf8f..47651a1 100644
--- a/debian/cron.service
+++ b/debian/cron.service
@@ -8,6 +8,7 @@ EnvironmentFile=-/etc/default/cron
 ExecStart=/usr/sbin/cron -f $EXTRA_OPTS
 IgnoreSIGPIPE=false
 KillMode=process
+Restart=on-failure
 
 [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