Commit 82723542880ee261dfd4bc2816b8d97149a18927
1 parent
58640f93
Exists in
master
and in
4 other branches
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 | 284 | |
285 | 285 | echo -n "Starting $DESC: " |
286 | 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 | 288 | else |
289 | 289 | $CD_TO_APP_DIR > /dev/null 2>&1 && $START_DAEMON_PROCESS && $START_RESQUE_PROCESS |
290 | 290 | fi | ... | ... |