haproxy/contrib
Vincent Bernat 3b479bd5f5 MINOR: systemd: consider exit status 143 as successful
The master process will exit with the status of the last worker. When
the worker is killed with SIGTERM, it is expected to get 143 as an
exit status. Therefore, we consider this exit status as normal from a
systemd point of view. If it happens when not stopping, the systemd
unit is configured to always restart, so it has no adverse effect.

This has mostly a cosmetic effect. Without the patch, stopping HAProxy
leads to the following status:

    ● haproxy.service - HAProxy Load Balancer
       Loaded: loaded (/lib/systemd/system/haproxy.service; disabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Fri 2018-06-22 20:35:42 CEST; 8min ago
         Docs: man:haproxy(1)
               file:/usr/share/doc/haproxy/configuration.txt.gz
      Process: 32715 ExecStart=/usr/sbin/haproxy -Ws -f $CONFIG -p $PIDFILE $EXTRAOPTS (code=exited, status=143)
      Process: 32714 ExecStartPre=/usr/sbin/haproxy -f $CONFIG -c -q $EXTRAOPTS (code=exited, status=0/SUCCESS)
     Main PID: 32715 (code=exited, status=143)

After the patch:

    ● haproxy.service - HAProxy Load Balancer
       Loaded: loaded (/lib/systemd/system/haproxy.service; disabled; vendor preset: enabled)
       Active: inactive (dead)
         Docs: man:haproxy(1)
               file:/usr/share/doc/haproxy/configuration.txt.gz
2018-07-12 17:44:51 +02:00
..
base64
debug CONTRIB: debug: fix a few flags definitions 2018-01-15 18:59:16 +01:00
halog CONTRIB: halog: Fix compiler warnings in halog.c 2017-12-20 09:36:58 +01:00
hpack CONTRIB: hpack: add an hpack decoder 2017-12-30 17:43:28 +01:00
ip6range
iprange CONTRIB: iprange: Fix compiler warning in iprange.c 2017-12-20 09:36:58 +01:00
mod_defender BUG/MINOR: contrib/mod_defender: update pointer on the end of the frame 2018-06-04 17:41:25 +02:00
modsecurity BUG/MINOR: contrib/modsecurity: update pointer on the end of the frame 2018-06-04 17:41:25 +02:00
netsnmp-perl
plug_qdisc
selinux
spoa_example BUG/MINOR: contrib/spoa_example: Don't reset the status code during disconnect 2018-06-04 17:34:50 +02:00
systemd MINOR: systemd: consider exit status 143 as successful 2018-07-12 17:44:51 +02:00
tcploop
trace CONTRIB: trace: report the base name only for file names 2017-10-24 19:54:25 +02:00
wireshark-dissectors/peers CONTRIB: Wireshark dissector for HAProxy Peer Protocol. 2017-11-15 19:49:41 +01:00