Skip to content

Commit c62b447

Browse files
committed
Merge branch 'master' of github.com:gitlabhq/gitlab-recipes
2 parents 5066e95 + 6286ada commit c62b447

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init/sysvinit/centos/gitlab-unicorn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
#
33
# GitLab
4-
# Contributors : @elvanja, @troyanov, @eiyaya, @foyo23, @nielsbasjes, @relip, @JasonMing, @andronat, @axilleas
4+
# Contributors : @elvanja, @troyanov, @eiyaya, @foyo23, @nielsbasjes, @relip, @JasonMing, @andronat, @axilleas, @mdirkse
55
# App Version : 6.x
66

77
# chkconfig: 2345 82 55
@@ -33,7 +33,7 @@ SPID=$APP_PATH/tmp/pids/sidekiq.pid
3333
SLOCK=/var/lock/subsys/sidekiq
3434

3535
# Evaluate the real path for the user (should already have RVM)
36-
PATH_PATCH="PATH=$(su $USER -l -c "echo \"\$PATH\"") && export PATH && "
36+
PATH_PATCH="PATH=$(su $USER -s /bin/bash -l -c "echo \"\$PATH\"") && export PATH && "
3737

3838
start() {
3939
cd $APP_PATH

0 commit comments

Comments
 (0)