Merge "graceful-stop now sends SIGINT along SIGUSR1"
This commit is contained in:
commit
e0c6cdfd4f
|
@ -79,6 +79,9 @@ do_stop()
|
|||
do_graceful_stop()
|
||||
{
|
||||
PID=`cat $PIDFILE`
|
||||
kill -INT $PID
|
||||
# Old nodepoold used USR1
|
||||
# New nodepoold ignores it while INT is being handled
|
||||
kill -USR1 $PID
|
||||
|
||||
# wait until really stopped
|
||||
|
|
Loading…
Reference in New Issue