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
Boxiang Sun
gitlab-ce
Commits
07a4cf41
Commit
07a4cf41
authored
Aug 01, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'patch-25' into 'master'
Invalid variable See merge request !13214
parents
eb73e2eb
b5f11ee9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/support/init.d/gitlab
lib/support/init.d/gitlab
+3
-3
No files found.
lib/support/init.d/gitlab
View file @
07a4cf41
...
@@ -291,7 +291,7 @@ start_gitlab() {
...
@@ -291,7 +291,7 @@ start_gitlab() {
fi
fi
if
[
"
$gitlab_workhorse_status
"
=
"0"
]
;
then
if
[
"
$gitlab_workhorse_status
"
=
"0"
]
;
then
echo
"The GitLab Workhorse is already running with pid
$
s
pid
, not restarting"
echo
"The GitLab Workhorse is already running with pid
$
h
pid
, not restarting"
else
else
# No need to remove a socket, gitlab-workhorse does this itself.
# No need to remove a socket, gitlab-workhorse does this itself.
# Because gitlab-workhorse has multiple executables we need to fix
# Because gitlab-workhorse has multiple executables we need to fix
...
@@ -313,7 +313,7 @@ start_gitlab() {
...
@@ -313,7 +313,7 @@ start_gitlab() {
if
[
"
$gitlab_pages_enabled
"
=
true
]
;
then
if
[
"
$gitlab_pages_enabled
"
=
true
]
;
then
if
[
"
$gitlab_pages_status
"
=
"0"
]
;
then
if
[
"
$gitlab_pages_status
"
=
"0"
]
;
then
echo
"The GitLab Pages is already running with pid
$
s
pid
, not restarting"
echo
"The GitLab Pages is already running with pid
$
gp
pid
, not restarting"
else
else
$app_root
/bin/daemon_with_pidfile
$gitlab_pages_pid_path
\
$app_root
/bin/daemon_with_pidfile
$gitlab_pages_pid_path
\
$gitlab_pages_dir
/gitlab-pages
$gitlab_pages_options
\
$gitlab_pages_dir
/gitlab-pages
$gitlab_pages_options
\
...
@@ -421,7 +421,7 @@ print_status() {
...
@@ -421,7 +421,7 @@ print_status() {
fi
fi
if
[
"
$gitlab_pages_enabled
"
=
true
]
;
then
if
[
"
$gitlab_pages_enabled
"
=
true
]
;
then
if
[
"
$gitlab_pages_status
"
=
"0"
]
;
then
if
[
"
$gitlab_pages_status
"
=
"0"
]
;
then
echo
"The GitLab Pages with pid
$
m
pid
is running."
echo
"The GitLab Pages with pid
$
gp
pid
is running."
else
else
printf
"The GitLab Pages is
\0
33[31mnot running
\0
33[0m.
\n
"
printf
"The GitLab Pages is
\0
33[31mnot running
\0
33[0m.
\n
"
fi
fi
...
...
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