init.d script copy duplication

Copy init.d script twice in the guide. Deleted the second one.
This commit is contained in:
Xiaoyu Tai 2014-04-27 20:25:35 +08:00
parent 3657e95195
commit 5ac015664d
1 changed files with 3 additions and 9 deletions

View File

@ -62,6 +62,7 @@ sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS
# Update init.d script
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
# Update the logrotate configuration (keep logs for 90 days instead of 52 weeks)
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
To improve performance, enable gzip asset compression as seen [in this commit](https://gitlab.com/gitlab-org/gitlab-ce/commit/8af94ed75505f0253823b9b2d44320fecea5b5fb).
### 6. Update Init script
```bash
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
```
### 7. Start application
### 6. Start application
sudo service gitlab start
sudo service nginx restart
### 8. Check application status
### 7. Check application status
Check if GitLab and its environment are configured correctly: