Commit 3e6020ee authored by Phillip Webb's avatar Phillip Webb

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

* pr/4414:
  Don't use `kill -hup` in the launch script
parents 52264cd0 b190cfdd
...@@ -166,7 +166,7 @@ stop() { ...@@ -166,7 +166,7 @@ stop() {
} }
do_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 for i in $(seq 1 60); do
isRunning $1 || { echoGreen "Stopped [$1]"; rm -f $2; return 0; } isRunning $1 || { echoGreen "Stopped [$1]"; rm -f $2; return 0; }
sleep 1 sleep 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment