Skip to content

Commit e0d043b

Browse files
committed
User with /sbin/nologin shell now also supported
1 parent 3e4c46a commit e0d043b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

init/sysvinit/centos/gitlab-unicorn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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)