Apache: make /var/run/httpd readable to wwwrun, as required by mod_cgid
This commit is contained in:
parent
d0c9a3ce32
commit
fbf9ecf78a
|
@ -594,7 +594,8 @@ in
|
||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
''
|
''
|
||||||
mkdir -m 0700 -p ${mainCfg.stateDir}
|
mkdir -m 0750 -p ${mainCfg.stateDir}
|
||||||
|
chown root.wwwrun ${mainCfg.stateDir}
|
||||||
mkdir -m 0700 -p ${mainCfg.logDir}
|
mkdir -m 0700 -p ${mainCfg.logDir}
|
||||||
|
|
||||||
${optionalString (mainCfg.documentRoot != null)
|
${optionalString (mainCfg.documentRoot != null)
|
||||||
|
|
Loading…
Reference in New Issue