Apache: make /var/run/httpd readable to wwwrun, as required by mod_cgid

This commit is contained in:
Eelco Dolstra 2012-07-09 16:27:39 +02:00
parent d0c9a3ce32
commit fbf9ecf78a
1 changed files with 2 additions and 1 deletions

View File

@ -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)