launching script: use SIGTERM instead of SIGINT with the “stop” command
This commit is contained in:
parent
55f98749e1
commit
45d040d8c6
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ kill_process() {
|
|||
PID=`cat $1`
|
||||
if ps -p $PID > /dev/null; then
|
||||
echo "Terminating $2... "
|
||||
kill -INT $PID
|
||||
kill $PID
|
||||
else
|
||||
echo "No running process of ID $PID... removing PID file"
|
||||
rm -f $1
|
||||
|
|
|
|||
Loading…
Reference in a new issue