Skip to content

Commit

Permalink
startas replaced with exec - fix pid check
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubanek committed Jun 11, 2024
1 parent f2b000e commit 2fd7e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init
Original file line number Diff line number Diff line change
Expand Up @@ -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(){
Expand Down

0 comments on commit 2fd7e69

Please sign in to comment.