Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author張旭 <zx1986@gmail.com>2012-05-09 13:46:42 +0400
committer張旭 <zx1986@gmail.com>2012-05-09 13:46:42 +0400
commit82723542880ee261dfd4bc2816b8d97149a18927 (patch)
tree19a48933249ff3e32e879114a16626e81fae580f /doc/installation.md
parent58640f93aae648e7956263e7cd3425fa72d42b95 (diff)
in /etc/init.d/gitlab, I add "-l" option in sh command
Diffstat (limited to 'doc/installation.md')
-rw-r--r--doc/installation.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/installation.md b/doc/installation.md
index 8b51a43b73b..ef617920b9d 100644
--- a/doc/installation.md
+++ b/doc/installation.md
@@ -284,7 +284,7 @@ Create init script in /etc/init.d/gitlab:
echo -n "Starting $DESC: "
if [ `whoami` = root ]; then
- sudo -u gitlab sh -c "$CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS"
+ sudo -u gitlab sh -l -c "$CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS"
else
$CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS
fi