Simplify upgrade guide based on 6-4 functionality mentioned by Jacob.
This commit is contained in:
parent
d187ffebee
commit
54ddca5c4e
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||||
### 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
|
||||||
|
|
Loading…
Reference in a new issue