Use KillMode=mixed in systemd service file (#1447085)
This commit is contained in:
parent
46fe71f025
commit
192031b90f
@ -3,9 +3,12 @@ Description=HAProxy Load Balancer
|
|||||||
After=syslog.target network.target
|
After=syslog.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/etc/sysconfig/haproxy
|
Environment="CONFIG=/etc/haproxy/haproxy.cfg" "PIDFILE=/run/haproxy.pid"
|
||||||
ExecStart=/usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid $OPTIONS
|
ExecStartPre=/usr/sbin/haproxy -f $CONFIG -c -q
|
||||||
|
ExecStart=/usr/sbin/haproxy-systemd-wrapper -f $CONFIG -p $PIDFILE
|
||||||
|
ExecReload=/usr/sbin/haproxy -f $CONFIG -c -q
|
||||||
ExecReload=/bin/kill -USR2 $MAINPID
|
ExecReload=/bin/kill -USR2 $MAINPID
|
||||||
|
KillMode=mixed
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
Name: haproxy
|
Name: haproxy
|
||||||
Version: 1.7.3
|
Version: 1.7.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: HAProxy reverse proxy for high availability environments
|
Summary: HAProxy reverse proxy for high availability environments
|
||||||
|
|
||||||
Group: System Environment/Daemons
|
Group: System Environment/Daemons
|
||||||
@ -139,6 +139,9 @@ exit 0
|
|||||||
%attr(-,%{haproxy_user},%{haproxy_group}) %dir %{haproxy_home}
|
%attr(-,%{haproxy_user},%{haproxy_group}) %dir %{haproxy_home}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 01 2017 Ryan O'Hara <rohara@redhat.com> - 1.7.3-2
|
||||||
|
- Use KillMode=mixed in systemd service file (#1447085)
|
||||||
|
|
||||||
* Sun Mar 26 2017 Ryan O'Hara <rohara@redhat.com> - 1.7.3-1
|
* Sun Mar 26 2017 Ryan O'Hara <rohara@redhat.com> - 1.7.3-1
|
||||||
- Update to 1.7.3 (#1413276)
|
- Update to 1.7.3 (#1413276)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user