diff options
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/horizon/start.sh | 13 |
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 |
