launching script: use SIGTERM instead of SIGINT with the “stop” command

This commit is contained in:
Goffi 2015-11-02 22:02:41 +01:00
commit 45d040d8c6

View file

@ -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