[Pkg-haproxy-maintainers] Bug#804530: haproxy: Ensure stop action works on pre-systemd versions of Debian (and Ubuntu)

James Page james.page at ubuntu.com
Mon Nov 9 09:47:58 UTC 2015


Package: haproxy
Version: 1.6.2-2
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu xenial ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  [ Jorge Niedbalski ]
  * debian/haproxy.init:
    + Pass the pidfile to the --pidfile argument instead of the PID
      number, easing backports to pre-systemd versions of Ubuntu
      and Debian (LP: #1477198).

On older Ubuntu versions (pre systemd), the stop action was not working correctly in the init script; this patch resolves that issue.

Thanks for considering the patch.


-- System Information:
Debian Release: stretch/sid
  APT prefers xenial-updates
  APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-16-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haproxy_1.6.2-2ubuntu1.debdiff
Type: text/x-diff
Size: 541 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haproxy-maintainers/attachments/20151109/9075ebd9/attachment.diff>


More information about the Pkg-haproxy-maintainers mailing list