Commit 70f17624 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch '6-4-update-guide' into 'master'

Improve 6-4 update guide
parents 206741f0 54ddca5c
...@@ -81,7 +81,7 @@ git diff 6-0-stable:config/gitlab.yml.example 6-4-stable:config/gitlab.yml.examp ...@@ -81,7 +81,7 @@ git diff 6-0-stable:config/gitlab.yml.example 6-4-stable:config/gitlab.yml.examp
```bash ```bash
sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers/rack_attack.rb sudo -u git -H cp config/initializers/rack_attack.rb.example config/initializers/rack_attack.rb
``` ```
* Uncomment `config.middleware.use Rack::Attack` in `/home/git/gitlab/config/application.rb`
* Set up logrotate * Set up logrotate
```bash ```bash
...@@ -91,9 +91,7 @@ sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab ...@@ -91,9 +91,7 @@ sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
### 7. Update Init script ### 7. Update Init script
```bash ```bash
sudo rm /etc/init.d/gitlab sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/6-4-stable/lib/support/init.d/gitlab
sudo chmod +x /etc/init.d/gitlab
``` ```
### 8. Start application ### 8. Start application
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment