Skip to content

Commit 3ad4984

Browse files
committed
change gitlab to fit centos 6.x
1 parent 2d47903 commit 3ad4984

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

init.d/gitlab-centos

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22
#
33
# GitLab
4-
# Maintainer: @elvanja, @troyanov, @eiyaya
5-
# App Version: 4.1
4+
# Maintainer: @elvanja, @troyanov, @eiyaya, @foyo23
5+
# App Version: 5.0.0
66

77
# chkconfig: 2345 82 55
88
# processname: unicorn
@@ -17,7 +17,7 @@
1717
. /etc/rc.d/init.d/functions
1818

1919
# The name of the service
20-
NAME=gitlab
20+
NAME=git
2121

2222
# The username and path to the gitlab source
2323
USER=$NAME
@@ -33,7 +33,7 @@ SLOCK=/var/lock/subsys/sidekiq
3333
OPTS="-c $APP_PATH/config/unicorn.rb -E production -D"
3434

3535
# Ruby related path update
36-
RUBY_PATH_PATCH="PATH=$PATH:/usr/local/bin:/usr/local/lib:/home/gitlab/bin && export PATH && "
36+
RUBY_PATH_PATCH="PATH=$PATH:/usr/local/bin:/usr/local/lib:/home/git/bin && export PATH && "
3737

3838
start() {
3939
cd $APP_PATH
@@ -113,4 +113,4 @@ case "$1" in
113113
;;
114114
esac
115115

116-
exit 0
116+
exit 0

0 commit comments

Comments
 (0)