Skip to content

Commit

Permalink
nixos/gitlab: fix startup script
Browse files Browse the repository at this point in the history
The preStart script used a hardcoded "git" user instead of the cfg value.
  • Loading branch information
brainrake authored and globin committed Oct 22, 2017
1 parent 0f0f0cb commit a89b28f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gitlab.nix
Expand Up @@ -646,7 +646,7 @@ in {
chmod -R ug-s ${cfg.statePath}/repositories
find ${cfg.statePath}/repositories -type d -print0 | xargs -0 chmod g+s
chmod 770 ${cfg.statePath}/uploads
chown -R git ${cfg.statePath}/uploads
chown -R ${cfg.user} ${cfg.statePath}/uploads
find ${cfg.statePath}/uploads -type f -exec chmod 0644 {} \;
find ${cfg.statePath}/uploads -type d -not -path ${cfg.statePath}/uploads -exec chmod 0770 {} \;
'';
Expand Down

0 comments on commit a89b28f

Please sign in to comment.