Invalid variable
This commit is contained in:
parent
faa2a12391
commit
b5f11ee90c
|
@ -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 $spid, not restarting"
|
echo "The GitLab Workhorse is already running with pid $hpid, 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() {
|
||||||
|
|
||||||
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 $spid, not restarting"
|
echo "The GitLab Pages is already running with pid $gppid, 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() {
|
||||||
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 $mpid is running."
|
echo "The GitLab Pages with pid $gppid is running."
|
||||||
else
|
else
|
||||||
printf "The GitLab Pages is \033[31mnot running\033[0m.\n"
|
printf "The GitLab Pages is \033[31mnot running\033[0m.\n"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue