start after the syslog service using systemd
authorDebian HAProxy Maintainers <pkg-haproxy-maintainers@lists.alioth.debian.org>
Wed, 17 May 2017 10:01:45 +0000 (11:01 +0100)
committerApollon Oikonomopoulos <apoikos@debian.org>
Wed, 17 May 2017 10:01:45 +0000 (11:01 +0100)
Forwarded: no
Last-Update: 2013-10-15

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

contrib/systemd/haproxy.service.in

index dca81a263ee122fbbd567454a2b1c5035e92a16b..b436ec7f41f6fda98fd6a741ea17813fbb4700fc 100644 (file)
@@ -1,6 +1,7 @@
 [Unit]
 Description=HAProxy Load Balancer
-After=network.target
+After=network.target syslog.service
+Wants=syslog.service
 
 [Service]
 Environment="CONFIG=/etc/haproxy/haproxy.cfg" "PIDFILE=/run/haproxy.pid"