forked from mirrors/nixpkgs
dont hardcode apache group name when setting permissions for state dir
This commit is contained in:
parent
4549bad2f4
commit
7ddea025e4
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue