add force=yes for gitlab:setup

This commit is contained in:
Praveen Arimbrathodiyil 2015-11-09 19:02:10 +05:30
parent c191de487d
commit ec7fd08352

View file

@ -3,7 +3,7 @@
. /etc/gitlab/gitlab-debian.conf
echo "Initializing database..."
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production'
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake gitlab:setup RAILS_ENV=production force=yes'
echo "Precompiling assets..."
su ${gitlab_user} -s /bin/sh -c 'bundle exec rake assets:precompile RAILS_ENV=production'
su ${gitlab_user} -s /bin/sh -c 'touch public/source.tar.gz'