From 9ba2e1873b9c6b972655a423fce6dd6aa4c2417d Mon Sep 17 00:00:00 2001
From: Robert Schilling <rschilling@student.tugraz.at>
Date: Fri, 20 Jun 2014 21:38:08 +0200
Subject: [PATCH] Fixes #7163, copy init script while upgrading

---
 doc/update/6.9-to-7.0.md | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/update/6.9-to-7.0.md b/doc/update/6.9-to-7.0.md
index d6e9c9f3155..2ddd83c624e 100644
--- a/doc/update/6.9-to-7.0.md
+++ b/doc/update/6.9-to-7.0.md
@@ -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
-- 
GitLab