aboutsummaryrefslogtreecommitdiff
path: root/docker/common/haproxy/start.sh
diff options
context:
space:
mode:
authorSteven Dake <stdake@cisco.com>2015-08-27 18:04:30 -0700
committerSteven Dake <stdake@cisco.com>2015-08-28 00:50:29 -0700
commit739c2c6e3aa0518308cb39be989879f3eaa4b227 (patch)
treee4079691cff22354ec90a236f22c3e77904d1e31 /docker/common/haproxy/start.sh
parent59138665acc96c6155d3046f10db32c38557e8b7 (diff)
downloadkolla-739c2c6e3aa0518308cb39be989879f3eaa4b227.tar.gz
kolla-739c2c6e3aa0518308cb39be989879f3eaa4b227.zip
Move scripts for haproxy to docker_templates
Change-Id: I942ba0e0ced0532fb0b575843fa170a031a8eb59 Partially-Implements: blueprint remove-docker-dir
Diffstat (limited to 'docker/common/haproxy/start.sh')
-rwxr-xr-xdocker/common/haproxy/start.sh20
1 files changed, 0 insertions, 20 deletions
diff --git a/docker/common/haproxy/start.sh b/docker/common/haproxy/start.sh
deleted file mode 100755
index d1da4a607..000000000
--- a/docker/common/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