Commit 54ddca5c authored by dosire's avatar dosire

Simplify upgrade guide based on 6-4 functionality mentioned by Jacob.

parent d187ffeb
...@@ -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