diff --git a/cookbooks/gitlab/recipes/default.rb b/cookbooks/gitlab/recipes/default.rb index 8dd66e7..a29df74 100644 --- a/cookbooks/gitlab/recipes/default.rb +++ b/cookbooks/gitlab/recipes/default.rb @@ -18,8 +18,8 @@ end execute 'gitlab:setup' do user 'git' cwd '/usr/lib/gitlab' - command 'yes yes | bundle exec rake db:setup RAILS_ENV=production && touch /etc/gitlab/setup.done' - not_if { File.exists?('/etc/gitlab/setup.done') } + command 'yes yes | bundle exec rake db:setup RAILS_ENV=production && touch /var/lib/gitlab/setup.done' + not_if { File.exists?('/var/lib/gitlab/setup.done') } action :nothing notifies :restart, 'service[gitlab]' -- libgit2 0.21.2