Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2013-10-07 16:16:04 +0400
committerJacob Vosmaer <contact@jacobvosmaer.nl>2013-10-07 16:16:04 +0400
commit83e9825c972796d90e678bb8ed3ddc04ee5b02b8 (patch)
tree4b2c571e1e0e9766206a57ba7cff0938a7cfb3a5 /doc/update/5.3-to-5.4.md
parentb658489f27454a130b813cad95b0bd3f9bdac1c8 (diff)
Fix sudo commands in update guides
Diffstat (limited to 'doc/update/5.3-to-5.4.md')
-rw-r--r--doc/update/5.3-to-5.4.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/update/5.3-to-5.4.md b/doc/update/5.3-to-5.4.md
index 5fba0e26afa..315bf03a6de 100644
--- a/doc/update/5.3-to-5.4.md
+++ b/doc/update/5.3-to-5.4.md
@@ -7,7 +7,7 @@ It's useful to make a backup just in case things go south:
```bash
cd /home/git/gitlab
-sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:create
+sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production
```
### 1. Stop server
@@ -86,5 +86,5 @@ Follow the [`upgrade guide from 5.2 to 5.3`](5.2-to-5.3.md), except for the data
```bash
cd /home/git/gitlab
-sudo -u git -H RAILS_ENV=production bundle exec rake gitlab:backup:restore
+sudo -u git -H bundle exec rake gitlab:backup:restore RAILS_ENV=production
```