Commit 5ac015664d6bc06fec5c3d16b9c5a08c8957d453
1 parent
3657e951
Exists in
spb-stable
and in
2 other branches
init.d script copy duplication
Copy init.d script twice in the guide. Deleted the second one.
Showing
1 changed file
with
3 additions
and
9 deletions
Show diff stats
doc/update/6.7-to-6.8.md
@@ -62,6 +62,7 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS | @@ -62,6 +62,7 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS | ||
62 | 62 | ||
63 | # Update init.d script | 63 | # Update init.d script |
64 | sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab | 64 | sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab |
65 | +sudo chmod +x /etc/init.d/gitlab | ||
65 | 66 | ||
66 | # Update the logrotate configuration (keep logs for 90 days instead of 52 weeks) | 67 | # Update the logrotate configuration (keep logs for 90 days instead of 52 weeks) |
67 | sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab | 68 | sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab |
@@ -92,19 +93,12 @@ If you are using HTTPS, disable gzip as in [this commit](https://gitlab.com/gitl | @@ -92,19 +93,12 @@ If you are using HTTPS, disable gzip as in [this commit](https://gitlab.com/gitl | ||
92 | 93 | ||
93 | To improve performance, enable gzip asset compression as seen [in this commit](https://gitlab.com/gitlab-org/gitlab-ce/commit/8af94ed75505f0253823b9b2d44320fecea5b5fb). | 94 | To improve performance, enable gzip asset compression as seen [in this commit](https://gitlab.com/gitlab-org/gitlab-ce/commit/8af94ed75505f0253823b9b2d44320fecea5b5fb). |
94 | 95 | ||
95 | -### 6. Update Init script | ||
96 | - | ||
97 | -```bash | ||
98 | -sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab | ||
99 | -sudo chmod +x /etc/init.d/gitlab | ||
100 | -``` | ||
101 | - | ||
102 | -### 7. Start application | 96 | +### 6. Start application |
103 | 97 | ||
104 | sudo service gitlab start | 98 | sudo service gitlab start |
105 | sudo service nginx restart | 99 | sudo service nginx restart |
106 | 100 | ||
107 | -### 8. Check application status | 101 | +### 7. Check application status |
108 | 102 | ||
109 | Check if GitLab and its environment are configured correctly: | 103 | Check if GitLab and its environment are configured correctly: |
110 | 104 |