summaryrefslogtreecommitdiff
path: root/docker/zaqar
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2019-05-28 12:01:45 +0200
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2019-06-03 15:11:24 +0200
commit932f09bcd65e15524b5229fdb6bc73a7e0111b27 (patch)
tree87ea1980592e422c8f48b54fc1c55e541986c3fd /docker/zaqar
parent554a521d6e49dafc61f591fbccee296070bf08fa (diff)
downloadkolla-932f09bcd65e15524b5229fdb6bc73a7e0111b27.tar.gz
kolla-932f09bcd65e15524b5229fdb6bc73a7e0111b27.zip
create missing apache2 directory on Debian/Ubuntu
Ubuntu/source deployment of several images (horizon, placement-api, zun) failed with: + exec /usr/sbin/apache2 -DFOREGROUND apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot Change-Id: Ie2a1077f7def0743f1403341985e2109aa490026
Diffstat (limited to 'docker/zaqar')
-rwxr-xr-xdocker/zaqar/zaqar-wsgi/extend_start.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/zaqar/zaqar-wsgi/extend_start.sh b/docker/zaqar/zaqar-wsgi/extend_start.sh
index ada839e96..1277bea35 100755
--- a/docker/zaqar/zaqar-wsgi/extend_start.sh
+++ b/docker/zaqar/zaqar-wsgi/extend_start.sh
@@ -7,6 +7,7 @@ if [[ "$(whoami)" == 'root' ]]; then
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
# Loading Apache2 ENV variables
. /etc/apache2/envvars
+ install -d /var/run/apache2/
rm -rf /var/run/apache2/*
else
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*