dont hardcode apache group name when setting permissions for state dir

This commit is contained in:
Marc Weber 2012-07-23 03:28:21 +02:00
parent 4549bad2f4
commit 7ddea025e4

View file

@ -595,7 +595,7 @@ in
preStart =
''
mkdir -m 0750 -p ${mainCfg.stateDir}
chown root.wwwrun ${mainCfg.stateDir}
chown root.${mainCfg.group} ${mainCfg.stateDir}
mkdir -m 0700 -p ${mainCfg.logDir}
${optionalString (mainCfg.documentRoot != null)