diff --git a/init b/init index bdf6eb7..f2b7644 100755 --- a/init +++ b/init @@ -48,7 +48,7 @@ startdaemon(){ done logger -t VMS_start -p user.info "Starting with IP $LSST_DDS_IP" echo -n "Starting TS VMS $1:" - start-stop-daemon --start --oknodo --pidfile ${PIDFILE}_$1.pid --startas $DAEMON -- -p ${PIDFILE}_$1.pid -u vms:vms $1 + start-stop-daemon --start --oknodo --pidfile ${PIDFILE}_$1.pid --exec $DAEMON -- -p ${PIDFILE}_$1.pid -u vms:vms $1 echo "done" } stopdaemon(){