diff options
Diffstat (limited to 'docker_templates/haproxy/start.sh')
| -rwxr-xr-x | docker_templates/haproxy/start.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/docker_templates/haproxy/start.sh b/docker_templates/haproxy/start.sh deleted file mode 100755 index d1da4a607..000000000 --- a/docker_templates/haproxy/start.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -set -o errexit - -CMD='/usr/sbin/haproxy' -ARGS="-f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid" - -# Loading common functions. -source /opt/kolla/kolla-common.sh - -# Execute config strategy -set_configs - -# We are intentionally not using exec so we can reload the haproxy config later -$CMD $ARGS - -# TODO(SamYaple): This has the potential for a race condition triggered by a -# config reload that could cause the container to exit -while [[ -e "/proc/$(cat /run/haproxy.pid)" ]]; do - sleep 5 -done |
