apache: create log directory o=

Hides away the contents of the log directory from others.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
Sebastian Kemper 2020-05-16 14:24:03 +02:00
parent 04575c258e
commit dbaad2fa44
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ restart() {
}
start() {
mkdir -p /var/log/apache2 /var/run/apache2
mkdir -p -m 0750 /var/log/apache2
mkdir -p /var/run/apache2
apachectl -k start
}