From: Elan Ruusamäe Date: Sun, 21 Aug 2016 13:20:22 +0000 (+0300) Subject: use gitlab-rake wrapper X-Git-Tag: gitlab-ce-8.10.7-0.59~10 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=fb6002d4291b4d33ac1c2bfeebadf748b612ea5b;p=packages%2Fgitlab-ce.git use gitlab-rake wrapper --- diff --git a/gitlab-ce.spec b/gitlab-ce.spec index c694701..4a7cce5 100644 --- a/gitlab-ce.spec +++ b/gitlab-ce.spec @@ -244,7 +244,7 @@ if [ $1 -eq 1 ]; then systemctl -q start gitlab-sidekiq systemctl -q start gitlab.target echo "Create and configure database in %{_sysconfdir}/gitlab/database.yml" - echo "Then run 'sudo -u gitlab bundle exec rake gitlab:setup RAILS_ENV=production'" + echo "Then run 'gitlab-rake gitlab:setup'" echo else systemctl -q try-restart gitlab-unicorn || :