Skip to content

Commit ce9989e

Browse files
committed
Merge pull request #74 from foyo23/master
change gitlab-centos to fit v5.0.0-stable
2 parents cc244d1 + 3ad4984 commit ce9989e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

init.d/gitlab-centos

Lines changed: 4 additions & 4 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=git
@@ -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

0 commit comments

Comments
 (0)