Commit f7da04dccde6deccc10a98a024e6230baaf08dd5
Exists in
spb-stable
and in
2 other branches
Merge pull request #6884 from xystudioo/master
fix init.d script copy duplication
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 | 62 | |
63 | 63 | # Update init.d script |
64 | 64 | sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab |
65 | +sudo chmod +x /etc/init.d/gitlab | |
65 | 66 | |
66 | 67 | # Update the logrotate configuration (keep logs for 90 days instead of 52 weeks) |
67 | 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 | 93 | |
93 | 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 | 98 | sudo service gitlab start |
105 | 99 | sudo service nginx restart |
106 | 100 | |
107 | -### 8. Check application status | |
101 | +### 7. Check application status | |
108 | 102 | |
109 | 103 | Check if GitLab and its environment are configured correctly: |
110 | 104 | ... | ... |