summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-07-05 17:09:22 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2019-07-05 17:09:22 +0000
commit1b3ebb4ada8bb0b7c6c50a09a858c942b8f29b5e (patch)
treed03aef6fbaa564ad1196572c581efba6a2b772db
parent42cdd489c1115123ab9fd783a0b983048f31d966 (diff)
parentf6df1eaff5d59930332ac51bd48f1be783d0126f (diff)
downloadgitlab-ce-1b3ebb4ada8bb0b7c6c50a09a858c942b8f29b5e.tar.gz
Merge branch 'fix_document_for_install_from_source-docs' into 'master'
Documentation: Update installation from source document See merge request gitlab-org/gitlab-ce!30380
-rw-r--r--doc/install/installation.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index 70e5ab28931..e9206469e5d 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -167,7 +167,7 @@ cd pcre2-10.33
chmod +x configure
./configure --prefix=/usr --enable-jit
make
-make install
+sudo make install
# Download and compile from source
cd /tmp
@@ -634,8 +634,8 @@ Gitaly must be running for the next section.
gitlab_path=/home/git/gitlab
gitaly_path=/home/git/gitaly
-sudo -u git -H $gitlab_path/bin/daemon_with_pidfile $gitlab_path/tmp/pids/gitaly.pid \
- $gitaly_path/gitaly $gitaly_path/config.toml >> $gitlab_path/log/gitaly.log 2>&1 &
+sudo -u git -H sh -c "$gitlab_path/bin/daemon_with_pidfile $gitlab_path/tmp/pids/gitaly.pid \
+ $gitaly_path/gitaly $gitaly_path/config.toml >> $gitlab_path/log/gitaly.log 2>&1 &"
```
### Initialize Database and Activate Advanced Features