Start after rsyslog.service
authorApollon Oikonomopoulos <apoikos@debian.org>
Sun, 25 Mar 2018 09:31:50 +0000 (11:31 +0200)
committerVincent Bernat <bernat@debian.org>
Sat, 21 Aug 2021 14:19:52 +0000 (15:19 +0100)
As HAProxy is running chrooted by default, we rely on an additional syslog
socket created by rsyslog inside the chroot for logging. As this socket cannot
trigger syslog activation, we explicitly order HAProxy after rsyslog.service.
Note that we are not using syslog.service here, since the additional socket is
rsyslog-specific.
Forwarded: no
Last-Update: 2017-12-01

Gbp-Pq: Name haproxy.service-start-after-syslog.patch

contrib/systemd/haproxy.service.in

index cb7bbda6cc51a5c04d3992873980c3081ca61eb2..780ea05064885d547c5a476e41a5bd3136441772 100644 (file)
@@ -1,6 +1,6 @@
 [Unit]
 Description=HAProxy Load Balancer
-After=network-online.target
+After=network-online.target rsyslog.service
 Wants=network-online.target
 
 [Service]