minor fix in haproxy.service.j2

pull/29/head
jmgao 2017-12-15 20:30:15 +08:00
parent befa6ee59c
commit 49993180fb
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ After=syslog.target network.target
[Service]
EnvironmentFile=/etc/sysconfig/haproxy
ExecStartPre=/usr/bin/mkdir /run/haproxy
ExecStartPre=/usr/bin/mkdir -p /run/haproxy
ExecStart=/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid $OPTIONS
ExecReload=/bin/kill -USR2 $MAINPID
KillMode=mixed