diff -Nru haproxy-1.4.24/debian/changelog haproxy-1.4.24/debian/changelog --- haproxy-1.4.24/debian/changelog 2015-06-25 18:44:16.000000000 -0300 +++ haproxy-1.4.24/debian/changelog 2015-07-22 12:07:50.000000000 -0300 @@ -1,3 +1,11 @@ +haproxy (1.4.24-2ubuntu0.2) trusty; urgency=high + + * debian/haproxy.init: + + Pass the pidfile to the --pidfile argument instead + of the PID number. (LP: #1477198). + + -- Jorge Niedbalski Wed, 22 Jul 2015 12:03:54 -0300 + haproxy (1.4.24-2ubuntu0.1) trusty; urgency=medium * debian/haproxy.init: diff -Nru haproxy-1.4.24/debian/haproxy.init haproxy-1.4.24/debian/haproxy.init --- haproxy-1.4.24/debian/haproxy.init 2015-06-25 16:49:31.000000000 -0300 +++ haproxy-1.4.24/debian/haproxy.init 2015-07-22 12:06:28.000000000 -0300 @@ -58,10 +58,8 @@ fi ret=0 - for pid in $(cat $PIDFILE); do - start-stop-daemon --quiet --oknodo --stop \ - --retry 5 --pid $pid --exec $HAPROXY || ret=$? - done + start-stop-daemon --quiet --oknodo --stop \ + --retry 5 --pidfile $PIDFILE --exec $HAPROXY || ret=$? [ $ret -eq 0 ] && rm -f $PIDFILE