Fixes #7163, copy init script while upgrading
This commit is contained in:
parent
d1e424bd5c
commit
9ba2e1873b
|
@ -58,6 +58,10 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
|
||||||
|
|
||||||
# Clean up assets and cache
|
# Clean up assets and cache
|
||||||
sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
|
sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production
|
||||||
|
|
||||||
|
# Update init.d script
|
||||||
|
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
|
||||||
|
sudo chmod +x /etc/init.d/gitlab
|
||||||
```
|
```
|
||||||
|
|
||||||
### 5. Update config files
|
### 5. Update config files
|
||||||
|
|
Loading…
Reference in New Issue