Merge pull request #4414 from pmvilaca/fix-4378-launch-script-stop-cmd
* pr/4414: Don't use `kill -hup` in the launch script
This commit is contained in:
commit
3e6020ee5c
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue