diff options
author | William Lallemand <wlallemand@haproxy.org> | 2021-08-20 23:36:45 +0200 |
---|---|---|
committer | William Lallemand <wlallemand@haproxy.org> | 2021-08-20 23:36:45 +0200 |
commit | fff1e583aa86551f88b95bbe7ca9960304d1632d (patch) | |
tree | 5019dd847366fc4ae5179424faa781c1d183a146 | |
parent | 6f58c13797dc02a5b0c5be943f6d5396e486bd71 (diff) | |
download | haproxy-fff1e583aa86551f88b95bbe7ca9960304d1632d.tar.gz |
MINOR: systemd: remove the ExecStartPre line in the unit file
The ExecStartPre line was introduced a long time ago in the systemd unit
file, at the time of systemd wrapper. With the haproxy master worker
mode, this line is now useless, since starting haproxy itself will check
the configuration.
However this does not concern the check in the ExecReload which is still
needed to return a reload status to HAProxy.
It probably shouldn't be backported.
-rw-r--r-- | admin/systemd/haproxy.service.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/admin/systemd/haproxy.service.in b/admin/systemd/haproxy.service.in index 49d3c52cf..eb1ad428b 100644 --- a/admin/systemd/haproxy.service.in +++ b/admin/systemd/haproxy.service.in @@ -7,7 +7,6 @@ Wants=network-online.target EnvironmentFile=-/etc/default/haproxy EnvironmentFile=-/etc/sysconfig/haproxy Environment="CONFIG=/etc/haproxy/haproxy.cfg" "PIDFILE=/run/haproxy.pid" "EXTRAOPTS=-S /run/haproxy-master.sock" -ExecStartPre=@SBINDIR@/haproxy -Ws -f $CONFIG -c -q $EXTRAOPTS ExecStart=@SBINDIR@/haproxy -Ws -f $CONFIG -p $PIDFILE $EXTRAOPTS ExecReload=@SBINDIR@/haproxy -Ws -f $CONFIG -c -q $EXTRAOPTS ExecReload=/bin/kill -USR2 $MAINPID |