Browse Source

apache: create log directory o=

Hides away the contents of the log directory from others.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
lilik-openwrt-22.03
Sebastian Kemper 5 years ago
parent
commit
dbaad2fa44
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      net/apache/files/apache2.init

+ 2
- 1
net/apache/files/apache2.init View File

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


Loading…
Cancel
Save