Merge pull request #4414 from pmvilaca/fix-4378-launch-script-stop-cmd

* pr/4414:
  Don't use `kill -hup` in the launch script
pull/4414/merge
Phillip Webb 9 years ago
commit 3e6020ee5c

@ -166,7 +166,7 @@ stop() {
}
do_stop() {
kill -HUP $1 &> /dev/null || { echoRed "Unable to kill process $1"; return 1; }
kill $1 &> /dev/null || { echoRed "Unable to kill process $1"; return 1; }
for i in $(seq 1 60); do
isRunning $1 || { echoGreen "Stopped [$1]"; rm -f $2; return 0; }
sleep 1

Loading…
Cancel
Save