diff --git a/debian/README.Debian b/debian/README.Debian index d2eecfe55c..2f3160a8f4 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -47,8 +47,8 @@ Upstream documentation will instruct to run commands like the following: $ sudo -u gitlab -H bundle exec rake XXX RAILS_ENV=production -Where is something like "db:migrate", "gitlab:check" or "gitlab:env:info". In -Debian, the rake command has to be called by the gitlab user from app home +Where XXX is something like "db:migrate", "gitlab:check" or "gitlab:env:info". +In Debian, the rake command has to be called by the gitlab user from app home directory /usr/share/gitlab and with the environment variables from /etc/gitlab/gitlab-debian.conf set. So above command could be run like: