Commit 5ed87ab7ccc8e5cf92b068bb75542f05b28a947e

Authored by Jeroen van Baarsen
1 parent 78363222

Fixes #6311: cp the init.d file locally instead of remote

doc/update/5.4-to-6.0.md
... ... @@ -94,7 +94,7 @@ Note: We switched from Puma in GitLab 5.4 to unicorn in GitLab 6.0.
94 94  
95 95 ```bash
96 96 sudo rm /etc/init.d/gitlab
97   -sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/6-0-stable/lib/support/init.d/gitlab
  97 +sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
98 98 sudo chmod +x /etc/init.d/gitlab
99 99 ```
100 100  
... ...
doc/update/6.0-to-6.1.md
... ... @@ -71,7 +71,7 @@ sudo -u git -H bundle exec rake cache:clear RAILS_ENV=production
71 71  
72 72 ```bash
73 73 sudo rm /etc/init.d/gitlab
74   -sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/6-1-stable/lib/support/init.d/gitlab
  74 +sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
75 75 sudo chmod +x /etc/init.d/gitlab
76 76 ```
77 77  
... ...
doc/update/6.1-to-6.2.md
... ... @@ -87,7 +87,7 @@ sudo cp lib/support/logrotate/gitlab /etc/logrotate.d/gitlab
87 87  
88 88 ```bash
89 89 sudo rm /etc/init.d/gitlab
90   -sudo curl --output /etc/init.d/gitlab https://raw.github.com/gitlabhq/gitlabhq/6-2-stable/lib/support/init.d/gitlab
  90 +sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
91 91 sudo chmod +x /etc/init.d/gitlab
92 92 ```
93 93  
... ...