Fixes #7163, copy init script while upgrading

This commit is contained in:
Robert Schilling 2014-06-20 21:38:08 +02:00
parent d1e424bd5c
commit 9ba2e1873b
1 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,10 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
# Clean up assets and cache
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