aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-25 13:50:41 +0000
committerGerrit Code Review <review@openstack.org>2015-09-25 13:50:41 +0000
commit6cf67a05e1ba0e155fb4a40692dd24211ee790b4 (patch)
treecf791b6a8c5e77215cbe1a67705472b8f45ececf /docker
parent00f35e55907d54bacd291ebaab684d7b26420c37 (diff)
parent4d5186473ec0ed8b350052049f38f969644f36d5 (diff)
downloadkolla-6cf67a05e1ba0e155fb4a40692dd24211ee790b4.tar.gz
kolla-6cf67a05e1ba0e155fb4a40692dd24211ee790b4.zip
Merge "Replace config-external - horizon"
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/horizon/start.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/docker/horizon/start.sh b/docker/horizon/start.sh
index 096326a3a..535f06b82 100755
--- a/docker/horizon/start.sh
+++ b/docker/horizon/start.sh
@@ -7,17 +7,12 @@ source /opt/kolla/kolla-common.sh
if [[ "${KOLLA_BASE_DISTRO}" == "ubuntu" || \
"${KOLLA_BASE_DISTRO}" == "debian" ]]; then
- CMD="/usr/sbin/apache2"
- ARGS="-DFOREGROUND"
-
# Loading Apache2 ENV variables
source /etc/apache2/envvars
-else
- CMD="/usr/sbin/httpd"
- ARGS="-DFOREGROUND"
fi
-# Execute config strategy
-set_configs
+# Generate run command
+python /opt/kolla/set_configs.py
+CMD=$(cat /run_command)
-exec $CMD $ARGS
+exec $CMD