[Debian-ha-svn-commits] [SCM] corosync Debian packaging branch, master, updated. debian/1.0.0-7

Guido Günther agx at sigxcpu.org
Mon Oct 5 16:04:16 UTC 2009


The following commit has been merged in the master branch:
commit dbac633c6075bc7f3c3644279f5c552b4f73dd97
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sat Oct 3 19:04:44 2009 +0200

    Stop corosync in runlevels 0 and 6

diff --git a/debian/corosync.init b/debian/corosync.init
index e8534c8..0087099 100644
--- a/debian/corosync.init
+++ b/debian/corosync.init
@@ -6,8 +6,8 @@
 # Required-Stop:     $network
 # Should-Start:
 # Should-Stop:
-# Default-Start:     S 0 6
-# Default-Stop:
+# Default-Start:     S
+# Default-Stop:      0 1 6
 # Short-Description: corosync cluster framework
 ### END INIT INFO
 
@@ -92,10 +92,6 @@ case "$1" in
 	esac
 	;;
   restart|force-reload)
-	#
-	# If the "reload" option is implemented then remove the
-	# 'force-reload' alias
-	#
 	log_daemon_msg "Restarting $DESC" "$NAME"
 	do_stop
 	case "$?" in
diff --git a/debian/rules b/debian/rules
index e13c34d..af8628d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,7 +45,7 @@ install: build
 	dh_installdirs
 	dh_installdocs
 	dh_installexamples
-	dh_installinit -p corosync -- start 59 S . start 7 0 6 .
+	dh_installinit -p corosync -- start 59 S . stop 7 0 1 6 .
 	dh_installlogrotate
 	dh_strip --dbg-package=corosync-dbg
 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))

-- 
corosync Debian packaging



More information about the Debian-ha-svn-commits mailing list