diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-04-06 19:23:38 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-04-06 19:23:38 +0000 |
| commit | d3f7eee9c19adf22b5afea1903a901090350db2e (patch) | |
| tree | 586fc5c683d9cde938b9e83e55a0395640ccf162 /docker/haproxy/extend_start.sh | |
| parent | ba4bcdbbe84a42e0346c0e36abf0d1cbc5007444 (diff) | |
| parent | de6650874da1470f10d4561fd1e33829eaef3414 (diff) | |
| download | kolla-d3f7eee9c19adf22b5afea1903a901090350db2e.tar.gz kolla-d3f7eee9c19adf22b5afea1903a901090350db2e.zip | |
Merge "Start the haproxy by using haproxy-system-wrapper"
Diffstat (limited to 'docker/haproxy/extend_start.sh')
| -rw-r--r-- | docker/haproxy/extend_start.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/docker/haproxy/extend_start.sh b/docker/haproxy/extend_start.sh deleted file mode 100644 index e2d13f484..000000000 --- a/docker/haproxy/extend_start.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -# We are intentionally not using exec so we can reload the haproxy config later -echo "Running command: '${CMD}'" -$CMD - -retry=0 -# The loop breaks only when haproxy.pid get missing even after 3 re-try. -while [[ $retry -lt 3 ]]; do - if [[ ! -e /run/haproxy.pid || ! -d /proc/$(cat /run/haproxy.pid) ]]; then - retry=$((retry+1)) - sleep 2 - continue - fi - retry=0 - sleep 5 -done - -exit 1 |
