Skip to content

Commit

Permalink
Merge pull request NixOS#19 from MarcWeber/fixes/apache-dont-hardcode…
Browse files Browse the repository at this point in the history
…-group

dont hardcode apache group name when setting permissions for state dir
  • Loading branch information
shlevy committed Jul 23, 2012
2 parents 4549bad + 7ddea02 commit 5b2b382
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/services/web-servers/apache-httpd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5b2b382

Please sign in to comment.