Commit a5b5c8c5ee0c1f12ba8b398d5bef009e0dbb8f51
1 parent
6157b9ec
Exists in
master
and in
90 other branches
Change lock file to a directory owned by 'git' user
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
cookbooks/gitlab/recipes/default.rb
| ... | ... | @@ -18,8 +18,8 @@ end |
| 18 | 18 | execute 'gitlab:setup' do |
| 19 | 19 | user 'git' |
| 20 | 20 | cwd '/usr/lib/gitlab' |
| 21 | - command 'yes yes | bundle exec rake db:setup RAILS_ENV=production && touch /etc/gitlab/setup.done' | |
| 22 | - not_if { File.exists?('/etc/gitlab/setup.done') } | |
| 21 | + command 'yes yes | bundle exec rake db:setup RAILS_ENV=production && touch /var/lib/gitlab/setup.done' | |
| 22 | + not_if { File.exists?('/var/lib/gitlab/setup.done') } | |
| 23 | 23 | |
| 24 | 24 | action :nothing |
| 25 | 25 | notifies :restart, 'service[gitlab]' | ... | ... |