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:
parent
04575c258e
commit
dbaad2fa44
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue