Skip to content

Commit

Permalink
nixos/gitlab: fix preStart script
Browse files Browse the repository at this point in the history
  • Loading branch information
brainrake authored and globin committed Oct 30, 2017
1 parent 29e80bd commit 00c03e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gitlab.nix
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ in {
# The gitlab:shell:create_hooks task seems broken for fixing links
# so we instead delete all the hooks and create them anew
rm ${cfg.statePath}/repositories/**/*.git/hooks
rm -f ${cfg.statePath}/repositories/**/*.git/hooks
${gitlab-rake}/bin/gitlab-rake gitlab:shell:create_hooks RAILS_ENV=production
# Change permissions in the last step because some of the
Expand Down

0 comments on commit 00c03e9

Please sign in to comment.