Skip to content

Commit

Permalink
Fix #127
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Häussler <c-n-i@web.de> (github: @cniweb)
  • Loading branch information
cniweb committed Jun 7, 2018
1 parent 2f82add commit 8b97de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start-stop-status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ case $1 in
echo " call start.sh." >>$LOG
su - ${DAEMON_USER} -s /bin/sh -c "cd ${SYNOPKG_PKGDEST} && ./${ENGINE_SCRIPT} &"
if [ $? -ne 0 ]; then echo " FAILED (su)" >>$LOG; exit 1; fi
wait_for_status 0 5
wait_for_status 0 30
rm -f ${PIDFILE}
if [ -n "$SYNOPKG_DSM_VERSION_MAJOR" -a $SYNOPKG_DSM_VERSION_MAJOR -ge 6 ]; then
echo $(ps aux | grep "^${DAEMON_USER}.*java" | awk '{print $2}') >>${PIDFILE}
Expand Down

0 comments on commit 8b97de8

Please sign in to comment.