Skip to content

Commit

Permalink
nixos/gitlab: fix preStart script
Browse files Browse the repository at this point in the history
(cherry picked from commit 00c03e9)
  • Loading branch information
brainrake authored and fpletz committed Nov 1, 2017
1 parent f4237e0 commit 528e15d
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 528e15d

Please sign in to comment.