File: haproxy.service-start-after-syslog.patch

package info (click to toggle)
haproxy 1.5.8-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 7,732 kB
  • sloc: ansic: 62,860; xml: 1,754; python: 925; makefile: 551; perl: 550; sh: 491
file content (18 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Subject: start after the syslog service using systemd
Author: Apollon Oikonomopoulos <apoikos@gmail.com>

Forwarded: no
Last-Update: 2013-10-15
Index: haproxy/contrib/systemd/haproxy.service.in
===================================================================
--- haproxy.orig/contrib/systemd/haproxy.service.in
+++ haproxy/contrib/systemd/haproxy.service.in
@@ -1,6 +1,7 @@
 [Unit]
 Description=HAProxy Load Balancer
-After=network.target
+After=network.target syslog.service
+Wants=syslog.service
 
 [Service]
 ExecStartPre=@SBINDIR@/haproxy -f /etc/haproxy/haproxy.cfg -c -q