Commit 9e5c016847f99350d3eb5444d58a9e9944294fc6

Authored by Valeriy Sizov
2 parents 58640f93 82723542

Merge pull request #800 from zx1986/patch-1

in /etc/init.d/gitlab, I add "-l" option in sh command
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
doc/installation.md
@@ -284,7 +284,7 @@ Create init script in /etc/init.d/gitlab: @@ -284,7 +284,7 @@ Create init script in /etc/init.d/gitlab:
284 284
285 echo -n "Starting $DESC: " 285 echo -n "Starting $DESC: "
286 if [ `whoami` = root ]; then 286 if [ `whoami` = root ]; then
287 - sudo -u gitlab sh -c "$CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS" 287 + sudo -u gitlab sh -l -c "$CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS"
288 else 288 else
289 $CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS 289 $CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS
290 fi 290 fi