]> git.pld-linux.org Git - packages/nagios.git/commitdiff
- full path to daemon
authorTomek Orzechowski <orzech@pld-linux.org>
Thu, 27 Mar 2003 08:44:53 +0000 (08:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nagios.init -> 1.4

nagios.init

index 44b67ec0c98fbe87de3c273559931a56669ca4ea..2814012d3d36189bc58aba6376cbcaa9a8c021d6 100644 (file)
@@ -18,7 +18,6 @@
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
         if [ ! -f /var/lock/subsys/network ]; then
-                # nls "ERROR: Networking is down. %s can't be run." <service>
                 msg_network_down nagios
                 exit 1
         fi
@@ -34,7 +33,7 @@ case "$1" in
                msg_starting nagios
                 # remove stale cmd pipe (or nagios won't start if it exists)
                 rm -f /var/lib/nagios/rw/nagios.cmd
-               daemon nagios -d /etc/nagios/nagios.cfg </dev/null
+               daemon /usr/sbin/nagios -d /etc/nagios/nagios.cfg </dev/null
                RETVAL=$?
                if [ $RETVAL -eq 0 ]; then
                        touch /var/lock/subsys/nagios
This page took 0.077703 seconds and 4 git commands to generate.