Skip to content
Snippets Groups Projects
Commit 82f23007 authored by sveseli's avatar sveseli
Browse files

fix for forever stop issue

parent b01ed0d0
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,9 @@ stop() {
fi
echo -n $"Stopping $DM_DAEMON_NAME daemon: "
PID=`cat $DM_DAEMON_PID_FILE`
$DM_DAEMON_CMD stop $PID
# forever currently cannot seem to stop node apps
#$DM_DAEMON_CMD stop $PID
killall -KILL node
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f $DM_DAEMON_PID_FILE && success $"$DM_DAEMON_NAME shutdown" || failure $"$DM_DAEMON_NAME shutdown"
echo
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment