Add command for updating the init.d script
This commit is contained in:
parent
f23ffeece7
commit
487f7551df
1 changed files with 3 additions and 0 deletions
|
@ -44,6 +44,9 @@ 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
|
||||||
```
|
```
|
||||||
|
|
||||||
### 5. Start application
|
### 5. Start application
|
||||||
|
|
Loading…
Reference in a new issue