Merge "create missing apache2 directory on Debian/Ubuntu"

This commit is contained in:
Zuul 2019-05-28 08:27:24 +00:00 committed by Gerrit Code Review
commit 554a521d6e
2 changed files with 2 additions and 0 deletions

View File

@ -349,6 +349,7 @@ config_zun_dashboard
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*

View File

@ -25,6 +25,7 @@ fi
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*