Merge "graceful-stop now sends SIGINT along SIGUSR1"

This commit is contained in:
Jenkins 2015-08-24 11:19:42 +00:00 committed by Gerrit Code Review
commit e0c6cdfd4f
1 changed files with 3 additions and 0 deletions

View File

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