mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user