[Pkg-cron-devel] [pkg-cron] 02/03: Make sure cron is started last and stopped first, with patch provided by Harald Dunkel (Closes: #767016)

Javier Fernandez-Sanguino Peña jfs at moszumanska.debian.org
Sun Mar 11 22:37:14 UTC 2018


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

jfs pushed a commit to branch updates/stretch
in repository pkg-cron.

commit 769f8b3909b60eed18b1e648ef771eae60750828
Author: Javier Fernandez-Sanguino <jfs at debian.org>
Date:   Sun Mar 11 22:34:35 2018 +0100

    Make sure cron is started last and stopped first, with patch provided by Harald
    Dunkel (Closes: #767016)
---
 debian/changelog    | 7 +++++++
 debian/cron.init    | 4 ++--
 debian/cron.service | 1 +
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index a2c477b..5da1bb4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+cron (3.0pl1-128+deb9u2) stretch; urgency=medium
+
+  * Make sure cron is started last and stopped first, with patch provided by
+    Harald Dunkel (Closes: #767016)
+
+ -- Javier Fernández-Sanguino Peña <jfs at debian.org>  Sun, 11 Mar 2018 22:32:18 +0100
+
 cron (3.0pl1-128+deb9u1) stretch; urgency=medium
 
   * Non-maintainer upload.
diff --git a/debian/cron.init b/debian/cron.init
index d09a505..41d65bc 100644
--- a/debian/cron.init
+++ b/debian/cron.init
@@ -5,8 +5,8 @@
 # Provides:          cron
 # Required-Start:    $remote_fs $syslog $time
 # Required-Stop:     $remote_fs $syslog $time
-# Should-Start:      $network $named slapd autofs ypbind nscd nslcd winbind
-# Should-Stop:       $network $named slapd autofs ypbind nscd nslcd winbind
+# Should-Start:      $all
+# Should-Stop:       $all
 # Default-Start:     2 3 4 5
 # Default-Stop:
 # Short-Description: Regular background program processing daemon
diff --git a/debian/cron.service b/debian/cron.service
index f06473d..adb40f3 100644
--- a/debian/cron.service
+++ b/debian/cron.service
@@ -7,6 +7,7 @@ EnvironmentFile=-/etc/default/cron
 ExecStart=/usr/sbin/cron -f $EXTRA_OPTS
 IgnoreSIGPIPE=false
 KillMode=process
+Type=idle
 
 [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