r68619 - in /trunk/gearman-server/debian: changelog gearman-server.init
gregoa at users.alioth.debian.org
gregoa at users.alioth.debian.org
Mon Feb 14 20:07:20 UTC 2011
Author: gregoa
Date: Mon Feb 14 20:02:51 2011
New Revision: 68619
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=68619
Log:
Make init script idempotent; thanks to Chris Lamb for the bug report and
the patch; closes: #612629.
Modified:
trunk/gearman-server/debian/changelog
trunk/gearman-server/debian/gearman-server.init
Modified: trunk/gearman-server/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/changelog?rev=68619&op=diff
==============================================================================
--- trunk/gearman-server/debian/changelog (original)
+++ trunk/gearman-server/debian/changelog Mon Feb 14 20:02:51 2011
@@ -1,6 +1,8 @@
gearman-server (1.11-2) UNRELEASED; urgency=low
* debian/rules: switch order of arguments to dh.
+ * Make init script idempotent; thanks to Chris Lamb for the bug report and
+ the patch; closes: #612629.
-- gregor herrmann <gregoa at debian.org> Wed, 28 Jul 2010 14:32:06 -0400
Modified: trunk/gearman-server/debian/gearman-server.init
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/gearman-server/debian/gearman-server.init?rev=68619&op=diff
==============================================================================
--- trunk/gearman-server/debian/gearman-server.init (original)
+++ trunk/gearman-server/debian/gearman-server.init Mon Feb 14 20:02:51 2011
@@ -50,7 +50,7 @@
start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
-n $NAME --oknodo
echo "$NAME."
- rm /var/run/$NAME.pid
+ rm -f /var/run/$NAME.pid
;;
#reload)
#
@@ -72,7 +72,7 @@
# daemon isn't already running.
# check wether $DAEMON is running. If so, restart
start-stop-daemon --stop --test --quiet --pidfile \
- /var/run/$NAME.pid --exec $DAEMON \
+ /var/run/$NAME.pid --oknodo --exec $DAEMON \
&& $0 restart \
|| exit 0
;;
More information about the Pkg-perl-cvs-commits
mailing list