The attached patch fixes the issue.
root@juju-testing-machine-15:/home/ubuntu# service haproxy start * Starting haproxy haproxy [ OK ] root@juju-testing-machine-15:/home/ubuntu# ps -fea |grep haproxy haproxy 28338 1 0 15:29 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid root@juju-testing-machine-15:/home/ubuntu# service haproxy stop * Stopping haproxy haproxy [ OK ] root@juju-testing-machine-15:/home/ubuntu# ps -fea |grep haproxy root@juju-testing-machine-15:/home/ubuntu# service haproxy status haproxy not running. root@juju-testing-machine-15:/home/ubuntu# service haproxy start * Starting haproxy haproxy [ OK ] root@juju-testing-machine-15:/home/ubuntu# ps -fea |grep haproxy haproxy 28398 1 0 15:29 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid root@juju-testing-machine-15:/home/ubuntu# service haproxy restart * Restarting haproxy haproxy [ OK ] root@juju-testing-machine-15:/home/ubuntu# ps -fea |grep haproxy haproxy 28419 1 0 15:30 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D -p /var/run/haproxy.pid root@juju-testing-machine-15:/home/ubuntu# service haproxy stop * Stopping haproxy haproxy [ OK ] root@juju-testing-machine-15:/home/ubuntu# service haproxy status haproxy not running.
The attached patch fixes the issue.
root@juju- testing- machine- 15:/home/ ubuntu# service haproxy start testing- machine- 15:/home/ ubuntu# ps -fea |grep haproxy haproxy. cfg -D -p /var/run/ haproxy. pid testing- machine- 15:/home/ ubuntu# service haproxy stop testing- machine- 15:/home/ ubuntu# ps -fea |grep haproxy testing- machine- 15:/home/ ubuntu# service haproxy status testing- machine- 15:/home/ ubuntu# service haproxy start
[ OK ] testing- machine- 15:/home/ ubuntu# ps -fea |grep haproxy haproxy. cfg -D -p /var/run/ haproxy. pid testing- machine- 15:/home/ ubuntu# service haproxy restart testing- machine- 15:/home/ ubuntu# ps -fea |grep haproxy haproxy. cfg -D -p /var/run/ haproxy. pid testing- machine- 15:/home/ ubuntu# service haproxy stop testing- machine- 15:/home/ ubuntu# service haproxy status
* Starting haproxy haproxy [ OK ]
root@juju-
haproxy 28338 1 0 15:29 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/
root@juju-
* Stopping haproxy haproxy [ OK ]
root@juju-
root@juju-
haproxy not running.
root@juju-
* Starting haproxy haproxy
root@juju-
haproxy 28398 1 0 15:29 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/
root@juju-
* Restarting haproxy haproxy [ OK ]
root@juju-
haproxy 28419 1 0 15:30 ? 00:00:00 /usr/sbin/haproxy -f /etc/haproxy/
root@juju-
* Stopping haproxy haproxy [ OK ]
root@juju-
haproxy not running.