projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04575c2
)
apache: create log directory o=
author
Sebastian Kemper
<sebastian_ml@gmx.net>
Sat, 16 May 2020 12:24:03 +0000
(14:24 +0200)
committer
Sebastian Kemper
<sebastian_ml@gmx.net>
Sat, 16 May 2020 12:24:05 +0000
(14:24 +0200)
Hides away the contents of the log directory from others.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/apache/files/apache2.init
patch
|
blob
|
history
diff --git
a/net/apache/files/apache2.init
b/net/apache/files/apache2.init
index a0136c84119177b37a144f172bdbd8d232ddc553..df2e2646e199104aa78d3ce28ce5aa5774c4e7f2 100644
(file)
--- 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
}