This worked for me in trusty with the proposed cloud-archive repository.

Before, when I restarted haproxy, I got an extra process:
root@juju-machine-2-lxc-0:~# service haproxy restart
 * Restarting haproxy haproxy
   ...done.
root@juju-machine-2-lxc-0:~# ps fxaw|grep haproxy
  32215 ?        Ss     0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D 
-p /var/run/haproxy.pid
  32547 ?        Ss     0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D 
-p /var/run/haproxy.pid


Now it's just one as expected, replacing the one that was running before:


root@juju-machine-2-lxc-0:~# ps fxaw|grep haproxy
  33493 pts/3    S+     0:00                          \_ grep --color=auto 
haproxy
  33483 ?        Ss     0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p 
/var/run/haproxy.pid -D -sf 33115

root@juju-machine-2-lxc-0:~# service haproxy restart
 * Restarting haproxy haproxy
   ...done.

root@juju-machine-2-lxc-0:~# ps fxaw|grep haproxy                               
                                                                                
          
  33510 pts/3    S+     0:00                          \_ grep --color=auto 
haproxy
  33507 ?        Ss     0:00 /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -D 
-p /var/run/haproxy.pid


Using version 1.5.14-1ubuntu0.15.10.1~cloud0:
root@juju-machine-2-lxc-0:~# apt-cache policy haproxy
haproxy:
  Installed: 1.5.14-1ubuntu0.15.10.1~cloud0
  Candidate: 1.5.14-1ubuntu0.15.10.1~cloud0
  Version table:
 *** 1.5.14-1ubuntu0.15.10.1~cloud0 0
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ 
trusty-proposed/liberty/main amd64 Packages
        100 /var/lib/dpkg/status
     1.5.14-1~cloud2 0
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ 
trusty-updates/liberty/main amd64 Packages
     1.4.24-2ubuntu0.2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     1.4.24-2 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

-- 
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/1477198

Title:
  Stop doesn't work on 14.04 (start-stop-daemon --pid not supported)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1477198/+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

Reply via email to