Merge "HAProxy: Remove usage of non-existing haproxy-systemd-wrapper"
This commit is contained in:
commit
c6a5378f63
|
@ -252,10 +252,7 @@ outputs:
|
|||
- 'ro,shared'
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/haproxy.json:
|
||||
# HAProxy 1.8 doesn't ship haproxy-systemd-wrapper, we have
|
||||
# to use a new dedicated option for live config reload.
|
||||
# Note: we can't use quotes in kolla command, hence the workaround
|
||||
command: bash -c $* -- eval if [ -f /usr/sbin/haproxy-systemd-wrapper ]; then exec /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg; else exec /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws; fi
|
||||
command: /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
|
|
@ -248,10 +248,7 @@ outputs:
|
|||
data: *tls_mapping
|
||||
kolla_config:
|
||||
/var/lib/kolla/config_files/haproxy.json:
|
||||
# HAProxy 1.8 doesn't ship haproxy-systemd-wrapper, we have
|
||||
# to use a new dedicated option for live config reload.
|
||||
# Note: we can't use quotes in kolla command, hence the workaround
|
||||
command: bash -c $* -- eval if [ -f /usr/sbin/haproxy-systemd-wrapper ]; then exec /usr/sbin/haproxy-systemd-wrapper -f /etc/haproxy/haproxy.cfg; else exec /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws; fi
|
||||
command: /usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -Ws
|
||||
config_files:
|
||||
- source: "/var/lib/kolla/config_files/src/*"
|
||||
dest: "/"
|
||||
|
|
Loading…
Reference in New Issue