Update init script only once
The init script is already being updated in section 6.
This commit is contained in:
parent
9bfd6c44e2
commit
64eaccf10a
|
@ -85,11 +85,10 @@ sudo -u git -H git checkout 0.4.2
|
||||||
sudo -u git -H make
|
sudo -u git -H make
|
||||||
```
|
```
|
||||||
|
|
||||||
Update the GitLab init script and 'default' file.
|
Update the GitLab 'default' file.
|
||||||
|
|
||||||
```
|
```
|
||||||
cd /home/git/gitlab
|
cd /home/git/gitlab
|
||||||
sudo cp lib/support/init.d/gitlab /etc/init.d/gitlab
|
|
||||||
test -e /etc/default/gitlab && \
|
test -e /etc/default/gitlab && \
|
||||||
sudo sed -i.pre-8.2 's/^\([^=]*\)gitlab_git_http_server/\1gitlab_workhorse/' /etc/default/gitlab
|
sudo sed -i.pre-8.2 's/^\([^=]*\)gitlab_git_http_server/\1gitlab_workhorse/' /etc/default/gitlab
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue