Merge "create missing apache2 directory on Debian/Ubuntu"
This commit is contained in:
commit
554a521d6e
@ -349,6 +349,7 @@ config_zun_dashboard
|
|||||||
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
||||||
# Loading Apache2 ENV variables
|
# Loading Apache2 ENV variables
|
||||||
. /etc/apache2/envvars
|
. /etc/apache2/envvars
|
||||||
|
install -d /var/run/apache2/
|
||||||
rm -rf /var/run/apache2/*
|
rm -rf /var/run/apache2/*
|
||||||
else
|
else
|
||||||
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
|
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
|
||||||
|
@ -25,6 +25,7 @@ fi
|
|||||||
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
|
||||||
# Loading Apache2 ENV variables
|
# Loading Apache2 ENV variables
|
||||||
. /etc/apache2/envvars
|
. /etc/apache2/envvars
|
||||||
|
install -d /var/run/apache2/
|
||||||
rm -rf /var/run/apache2/*
|
rm -rf /var/run/apache2/*
|
||||||
else
|
else
|
||||||
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
|
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user