Skip to content

Commit

Permalink
fixed haproxy.service
Browse files Browse the repository at this point in the history
  • Loading branch information
philyuchkoff authored Oct 25, 2024
1 parent 076d6e9 commit 1f91f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SOURCES/haproxy.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ After=syslog.target network.target
EnvironmentFile=-/etc/sysconfig/haproxy
EnvironmentFile=-/etc/sysconfig/haproxy
Environment="CONFIG=/etc/haproxy/haproxy.cfg" "PIDFILE=/run/haproxy.pid" "EXTRAOPTS=-S /run/haproxy-master.sock"
ExecStartPre=/usr/sbin/haproxy -f $CONFIG -c -q $EXTRAOPTS
ExecStartPre=/usr/sbin/haproxy -Ws -f $CONFIG -c -q $EXTRAOPTS
ExecStart=/usr/sbin/haproxy -Ws -f $CONFIG -p $PIDFILE $EXTRAOPTS
ExecReload=/usr/sbin/haproxy -f $CONFIG -c -q $EXTRAOPTS
ExecReload=/usr/sbin/haproxy -Ws -f $CONFIG -c -q $EXTRAOPTS
ExecReload=/bin/kill -USR2 $MAINPID
KillMode=mixed
Restart=always
Expand Down

0 comments on commit 1f91f6d

Please sign in to comment.