tag 496810 +patch
thanks

Hi,

I think simply including --oknodo like below fixes this problem:

--- debian/nsca.init.orig         2008-09-07 15:44:19.280906007 +0200
+++ debian/nsca.init              2008-09-07 16:00:39.378879122 +0200
@@ -55,12 +55,12 @@
   if [ ! -d "/var/run/nagios" ]; then
      mkdir -p /var/run/nagios || die "ERROR: couldn't create
      /var/run/nagios"
      fi
-     $SSD_START -- $OPTS || die "ERROR: could not start $NAME."
+     $SSD_START --oknodo -- $OPTS || die "ERROR: could not start
$NAME."
        echo "$NAME."
 ;;
 stop)
        echo -n "Stopping $DESC: "
-       $SSD_STOP -- $OPTS || die "ERROR: could not stop $NAME."
+       $SSD_STOP --oknodo -- $OPTS || die "ERROR: could not stop
$NAME."
        rm -f $PIDFILE
        echo "$NAME."
 ;;

Please tell me if it's unacceptable for some reason.
Or I can prepare an NMU if you wish.  Do you think a fix for #466261
could also be included?
-- 
Regards,
Feri.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to