In remctl-auto's init script, exit 0 if inetd is already running sipb-xen-remctl-auto/1.2
authorEvan Broder <broder@mit.edu>
Mon, 6 Oct 2008 09:03:52 +0000 (05:03 -0400)
committerEvan Broder <broder@mit.edu>
Mon, 6 Oct 2008 09:03:52 +0000 (05:03 -0400)
svn path=/trunk/packages/sipb-xen-remctl-auto/; revision=1075

debian/changelog
debian/sipb-xen-remctl-auto.init

index ffe56b6..32929f3 100644 (file)
@@ -1,3 +1,10 @@
+sipb-xen-remctl-auto (1.2) unstable; urgency=low
+
+  * Exit successfully if inetd is already running; package fails to
+    install otherwise
+
+ -- Evan Broder <broder@mit.edu>  Mon, 06 Oct 2008 05:03:18 -0400
+
 sipb-xen-remctl-auto (1.1) unstable; urgency=low
 
   * Explicitly lock a volume before deleting it
index b35f5ba..f56396d 100755 (executable)
@@ -25,7 +25,8 @@ case "$1" in
     log_begin_msg "Reloading config for $PACKAGE"
     gen_config
     log_end_msg $?
-    /etc/init.d/openbsd-inetd start   # idempotent, thankfully
+    /etc/init.d/openbsd-inetd start # returns 1 if inetd is running
+    [ $? -eq 1 ] && exit 0
     ;;
   stop)
     ;;