This still won't be enough. I suggest something like this: --- haproxy.old 2014-09-22 10:52:07.599718882 +0000 +++ haproxy.new 2014-09-22 10:51:34.815653158 +0000 @@ -46,7 +46,9 @@ return 0 fi for pid in $(cat $PIDFILE) ; do - /bin/kill $pid || return 4 + if [ ! kill -0 $pid ]; then + /bin/kill $pid || return 4 + fi done rm -f $PIDFILE return 0
-- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to haproxy in Ubuntu. https://bugs.launchpad.net/bugs/1038139 Title: Missing running check on init script To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1038139/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs