[Debian-ha-svn-commits] [SCM] corosync Debian packaging branch, master, updated. debian/1.2.1-1-1-ga2453fb
Guido Günther
agx at sigxcpu.org
Fri Jun 4 09:12:55 UTC 2010
The following commit has been merged in the master branch:
commit a2453fbb76f43cc20a5a2c854952085074aaef91
Author: Guido Günther <agx at sigxcpu.org>
Date: Fri Jun 4 11:11:08 2010 +0200
Add status to corosync init script
Closes: #582104
Thanks: Raoul Bhatia for the patch
diff --git a/debian/corosync.init b/debian/corosync.init
index dfe4e54..642b200 100644
--- a/debian/corosync.init
+++ b/debian/corosync.init
@@ -107,6 +107,9 @@ case "$1" in
;;
esac
;;
+ status|monitor)
+ status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
+ ;;
*)
#echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
--
corosync Debian packaging
More information about the Debian-ha-svn-commits
mailing list