summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-23 10:01:11 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-04-23 10:01:11 +0300
commit6d4f5cd9011af5c8d86e771aea4388e8807d737e (patch)
tree847c96d1ba57ce710dd8e613d9fcc8443adb7c4c /doc
parentbf855d19cb2a45e480270789b5a8eebb0ba98f32 (diff)
parent03b56b9446f851a621480e697e33328d51e75751 (diff)
downloadgitlab-ce-6d4f5cd9011af5c8d86e771aea4388e8807d737e.tar.gz
Merge pull request #6836 from terrywang/upgrader-doc
Break up the long upgrade one liner & add Bash syntax highlighting
Diffstat (limited to 'doc')
-rw-r--r--doc/update/upgrader.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/update/upgrader.md b/doc/update/upgrader.md
index fd45154ac82..72a94f67b3c 100644
--- a/doc/update/upgrader.md
+++ b/doc/update/upgrader.md
@@ -46,4 +46,8 @@ If all items are green, then congratulations upgrade is complete!
You've read through the entire guide, and probably did all the steps manually. Here is a one liner for convenience, the next time you upgrade:
- cd /home/git/gitlab; sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production; sudo service gitlab stop; sudo -u git -H ruby script/upgrade.rb -y; sudo service gitlab start; sudo service nginx restart; sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
+```bash
+cd /home/git/gitlab; sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production; \
+ sudo service gitlab stop; sudo -u git -H ruby script/upgrade.rb -y; sudo service gitlab start; \
+ sudo service nginx restart; sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
+```