@@ -70,10 +70,10 @@
for IFACE in ${NPROBE_IFACE} ; do
echo -n "instance on interface ${IFACE} "
if [ "${NPROBE_USE_ZMQ}" == "no" ] ; then
- daemon --pidfile /var/run/nprobe/nprobe-${IFACE}.pid $NPROBE_BIN -g /var/run/nprobe/nprobe-${IFACE}.pid -i ${IFACE} ${NF_VERSION} ${COLLECTOR_OPTS} ${NPROBE_OPTS}
+ daemon --pidfile /var/run/nprobe/nprobe-${IFACE}.pid $NPROBE_BIN -G -g /var/run/nprobe/nprobe-${IFACE}.pid -i ${IFACE} ${NF_VERSION} ${COLLECTOR_OPTS} ${NPROBE_OPTS}
RETVAL=$?
elif [ "${NPROBE_USE_ZMQ}" == "yes" ] ; then
- daemon --pidfile /var/run/nprobe/nprobe-${IFACE}.pid $NPROBE_BIN -g /var/run/nprobe/nprobe-${IFACE}.pid -i ${IFACE} ${NF_VERSION} ${COLLECTOR_OPTS} ${NPROBE_OPTS} --zmq tcp://${NPROBE_ZMQ_BINDADDRESS}:${NPROBE_ZMQ_PORTBASE}
+ daemon --pidfile /var/run/nprobe/nprobe-${IFACE}.pid $NPROBE_BIN -G -g /var/run/nprobe/nprobe-${IFACE}.pid -i ${IFACE} ${NF_VERSION} ${COLLECTOR_OPTS} ${NPROBE_OPTS} --zmq tcp://${NPROBE_ZMQ_BINDADDRESS}:${NPROBE_ZMQ_PORTBASE}
RETVAL=$?
NPROBE_ZMQ_PORTBASE=`expr ${NPROBE_ZMQ_PORTBASE} + 1`
fi
|