[Pkg-cron-devel] [pkg-cron] 01/03: Change systemd definition in order for the daemon to read an honor /etc/default/cron (Closes: #754279)

Javier Fernandez-Sanguino Pen~a jfs at moszumanska.debian.org
Fri Oct 24 14:34:37 UTC 2014


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

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

commit 934bd6b1560dd231d44775537b4769eb883a41b7
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Fri Oct 24 16:20:04 2014 +0200

     Change systemd definition in order for the daemon to read an honor
     /etc/default/cron (Closes: #754279)
---
 debian/cron.service | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/cron.service b/debian/cron.service
index e8bef4d..d2a8a12 100644
--- a/debian/cron.service
+++ b/debian/cron.service
@@ -3,7 +3,8 @@ Description=Regular background program processing daemon
 Documentation=man:cron(8)
 
 [Service]
-ExecStart=/usr/sbin/cron -f
+EnvironmentFile=-/etc/default/cron
+ExecStart=/usr/sbin/cron -f $READ_ENV $EXTRA_OPTS
 IgnoreSIGPIPE=false
 
 [Install]

-- 
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