[pkg-bacula-commits] [bacula] 01/01: Change init scripts to make sure the daemons are restarted on upgrades

Carsten Leonhardt leo at moszumanska.debian.org
Tue Aug 2 22:21:18 UTC 2016


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

leo pushed a commit to branch jessie-backports
in repository bacula.

commit 167c9143262224fdd2a13957715dd388c3dd312c
Author: Carsten Leonhardt <leo at debian.org>
Date:   Wed Aug 3 00:18:37 2016 +0200

    Change init scripts to make sure the daemons are restarted on upgrades
---
 debian/bacula-director-common.bacula-director.init | 2 +-
 debian/bacula-fd.init                              | 2 +-
 debian/bacula-sd.init                              | 2 +-
 debian/changelog                                   | 8 ++++++++
 4 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/debian/bacula-director-common.bacula-director.init b/debian/bacula-director-common.bacula-director.init
index f8884aa..a61d81d 100644
--- a/debian/bacula-director-common.bacula-director.init
+++ b/debian/bacula-director-common.bacula-director.init
@@ -76,7 +76,7 @@ do_start()
 do_stop()
 {
 	start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \
-		--retry TERM/30/KILL/5 --exec $DAEMON -- -c $CONFIG $ARGS
+		--retry TERM/30/KILL/5 --name $DAEMON
 }
 
 
diff --git a/debian/bacula-fd.init b/debian/bacula-fd.init
index 8d1afa0..063a2a6 100644
--- a/debian/bacula-fd.init
+++ b/debian/bacula-fd.init
@@ -64,7 +64,7 @@ do_start()
 do_stop()
 {
         start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \
-        --retry TERM/30/KILL/5 --exec $DAEMON -- -c $CONFIG $ARGS
+        --retry TERM/30/KILL/5 --name $DAEMON
 }
 
 case "$1" in
diff --git a/debian/bacula-sd.init b/debian/bacula-sd.init
index 5477ff5..9c4c6a0 100644
--- a/debian/bacula-sd.init
+++ b/debian/bacula-sd.init
@@ -62,7 +62,7 @@ do_start()
 do_stop()
 {
         start-stop-daemon --oknodo --stop --quiet --pidfile $PIDFILE \
-        --retry TERM/$STOPTIMEOUT/KILL/5 --exec $DAEMON -- -c $CONFIG $ARGS
+        --retry TERM/$STOPTIMEOUT/KILL/5 --name $DAEMON
 }
 
 case "$1" in
diff --git a/debian/changelog b/debian/changelog
index d16fdec..f646e10 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+bacula (7.4.3+dfsg-1~bpo8+1) jessie-backports; urgency=medium
+
+  * Rebuild for jessie-backports.
+  * Fix init scripts to make extra sure the daemons are restarted on
+    upgrades
+
+ --
+
 bacula (7.4.3+dfsg-1) unstable; urgency=medium
 
   * New upstream release

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



More information about the pkg-bacula-commits mailing list