aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2020-05-16 14:24:03 +0200
committerSebastian Kemper <sebastian_ml@gmx.net>2020-05-16 14:24:05 +0200
commitdbaad2fa44ef93089879d90e1a06342820a1374b (patch)
treeef2e4bed2db6d67c5f9f98cadf3d49ed4eb556b8 /net
parent04575c258e35e2f4874bc18f46aa5cf847f5cbb1 (diff)
apache: create log directory o=
Hides away the contents of the log directory from others. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Diffstat (limited to 'net')
-rw-r--r--net/apache/files/apache2.init3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/apache/files/apache2.init b/net/apache/files/apache2.init
index a0136c841..df2e2646e 100644
--- a/net/apache/files/apache2.init
+++ b/net/apache/files/apache2.init
@@ -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
}