@@ -85,16 +85,16 @@
echo
[ $RETVAL -eq 0 ] && touch ${lockfile}-${IFACE}
done
- elif
+ else
if [ -z "${NPROBE_COLLECTOR_PORT}" ] ; then
NPROBE_COLLECTOR_PORT="6661"
fi
if [ "${NPROBE_USE_ZMQ}" == "no" ] ; then
- daemon --pidfile /var/run/nprobe/nprobe.pid $NPROBE_BIN -g /var/run/nprobe/nprobe.pid --collector-port ${NPROBE_COLLECTOR_PORT} ${NF_VERSION} ${COLLECTOR_OPTS} ${NPROBE_OPTS}
+ daemon --pidfile /var/run/nprobe/nprobe.pid $NPROBE_BIN -G -g /var/run/nprobe/nprobe.pid --collector-port ${NPROBE_COLLECTOR_PORT} ${NF_VERSION} ${COLLECTOR_OPTS} ${NPROBE_OPTS}
RETVAL=$?
elif [ "${NPROBE_USE_ZMQ}" == "yes" ] ; then
- daemon --pidfile /var/run/nprobe/nprobe.pid $NPROBE_BIN -g /var/run/nprobe/nprobe.pid --collector-port ${NPROBE_COLLECTOR_PORT} ${NF_VERSION} ${COLLECTOR_OPTS} ${NPROBE_OPTS} --zmq tcp://${NPROBE_ZMQ_BINDADDRESS}:${NPROBE_ZMQ_PORTBASE}
+ daemon --pidfile /var/run/nprobe/nprobe.pid $NPROBE_BIN -G -g /var/run/nprobe/nprobe.pid --collector-port ${NPROBE_COLLECTOR_PORT} ${NF_VERSION} ${COLLECTOR_OPTS} ${NPROBE_OPTS} --zmq tcp://${NPROBE_ZMQ_BINDADDRESS}:${NPROBE_ZMQ_PORTBASE}
RETVAL=$?
fi
echo
@@ -114,7 +114,7 @@
rm -f ${lockfile}-${IFACE} ${pidfile}
fi
done
- elif
+ else
echo -n " "
killproc -p /var/run/nprobe/nprobe.pid $NPROBE_BIN
RETVAL=$?
@@ -147,7 +147,7 @@
status -p /var/run/nprobe/nprobe-${IFACE}.pid $NPROBE_BIN
RETVAL=$?
done
- elif
+ else
echo -n " "
status -p /var/run/nprobe/nprobe.pid $NPROBE_BIN
RETVAL=$?
|