Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
7c38f4e2
Commit
7c38f4e2
authored
Aug 27, 2013
by
Rovanion
Committed by
Rovanion Luckey
Aug 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes recommended by @axilleas
parent
df9e1db9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lib/support/init.d/gitlab
lib/support/init.d/gitlab
+5
-5
No files found.
lib/support/init.d/gitlab
View file @
7c38f4e2
...
...
@@ -20,8 +20,8 @@ RAILS_ENV="production"
# Script variable names should be lower-case not to conflict with internal
# /bin/sh variables such as PATH, EDITOR or SHELL.
app_root
=
"/home/git
lab
/gitlab"
app_user
=
"git
lab
"
app_root
=
"/home/git/gitlab"
app_user
=
"git"
unicorn_conf
=
"
$app_root
/config/unicorn.rb"
pid_path
=
"
$app_root
/tmp/pids"
socket_path
=
"
$app_root
/tmp/sockets"
...
...
@@ -68,7 +68,7 @@ check_pids(){
check_pids
# Checks w
ether the different parts of the server is
already running or not.
# Checks w
hether the different parts of the service are
already running or not.
check_status
(){
check_pids
# If the web server is running kill -0 $wpid returns true, or rather 0.
...
...
@@ -117,7 +117,7 @@ start() {
else
echo
"Starting the GitLab Unicorn web server..."
# Remove old socket if it exists
rm
-f
"
$socket_path
"
/gitlab.socket
rm
-f
"
$socket_path
"
/gitlab.socket
2>/dev/null
# Start the webserver
bundle
exec
unicorn_rails
-D
-c
"
$unicorn_conf
"
-E
"
$RAILS_ENV
"
fi
...
...
@@ -231,4 +231,4 @@ case "$1" in
;;
esac
exit
\ No newline at end of file
exit
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment