Skip to content
Snippets Groups Projects
Commit 47623993 authored by ale's avatar ale
Browse files

Ensure /var/log/apache2 exists

parent 296fe9af
Branches
No related tags found
No related merge requests found
Pipeline #11819 passed
......@@ -70,6 +70,9 @@ a2ensite ${APACHE_SITES}
# The file is named 00modsecurity.conf so it is loaded first.
mv /etc/modsecurity/modsecurity.conf-recommended /etc/modsecurity/00modsecurity.conf
# This needs to be writable for mod security to be able to start.
install -d -m 1777 /var/log/apache2
# Ensure that the mount points exist.
mkdir -p /opt/noblogs/www/wp-content/blogs.dir
mkdir -p /opt/noblogs/www/wp-content/cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment