Commit de9bf7dac635538c9a1ed9e3f51e012e5ce127b6
Exists in
spb-stable
and in
2 other branches
Merge pull request #7166 from Razer6/fix/init_script
Fixes #7163, copy init script while upgrading (stable branch)
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
doc/update/6.9-to-7.0.md
@@ -58,6 +58,10 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production | @@ -58,6 +58,10 @@ sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production | ||
58 | 58 | ||
59 | # Clean up assets and cache | 59 | # Clean up assets and cache |
60 | sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production | 60 | sudo -u git -H bundle exec rake assets:clean assets:precompile cache:clear RAILS_ENV=production |
61 | + | ||
62 | +# Update init.d script | ||
63 | +sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab | ||
64 | +sudo chmod +x /etc/init.d/gitlab | ||
61 | ``` | 65 | ``` |
62 | 66 | ||
63 | ### 5. Update config files | 67 | ### 5. Update config files |