Commit 0fefbad6c9926f459aefa69ed0ff422cab3c4f93
1 parent
4105878a
Exists in
spb-stable
and in
3 other branches
Unify markdown syntax for Bash commands
Showing
1 changed file
with
13 additions
and
5 deletions
Show diff stats
doc/update/6.3-to-6.4.md
| @@ -9,7 +9,9 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production | @@ -9,7 +9,9 @@ sudo -u git -H bundle exec rake gitlab:backup:create RAILS_ENV=production | ||
| 9 | 9 | ||
| 10 | ### 1. Stop server | 10 | ### 1. Stop server |
| 11 | 11 | ||
| 12 | - sudo service gitlab stop | 12 | +```bash |
| 13 | +sudo service gitlab stop | ||
| 14 | +```` | ||
| 13 | 15 | ||
| 14 | ### 2. Get latest code | 16 | ### 2. Get latest code |
| 15 | 17 | ||
| @@ -51,18 +53,24 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab | @@ -51,18 +53,24 @@ sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab | ||
| 51 | 53 | ||
| 52 | ### 5. Start application | 54 | ### 5. Start application |
| 53 | 55 | ||
| 54 | - sudo service gitlab start | ||
| 55 | - sudo service nginx restart | 56 | +```bash |
| 57 | +sudo service gitlab start | ||
| 58 | +sudo service nginx restart | ||
| 59 | +``` | ||
| 56 | 60 | ||
| 57 | ### 6. Check application status | 61 | ### 6. Check application status |
| 58 | 62 | ||
| 59 | Check if GitLab and its environment are configured correctly: | 63 | Check if GitLab and its environment are configured correctly: |
| 60 | 64 | ||
| 61 | - sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production | 65 | +```bash |
| 66 | +sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production | ||
| 67 | +``` | ||
| 62 | 68 | ||
| 63 | To make sure you didn't miss anything run a more thorough check with: | 69 | To make sure you didn't miss anything run a more thorough check with: |
| 64 | 70 | ||
| 65 | - sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production | 71 | +```bash |
| 72 | +sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production | ||
| 73 | +``` | ||
| 66 | 74 | ||
| 67 | If all items are green, then congratulations upgrade complete! | 75 | If all items are green, then congratulations upgrade complete! |
| 68 | 76 |