BigW Consortium Gitlab

Commit b5f11ee9 by Semen Romanov

Invalid variable

parent faa2a123
...@@ -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 $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() { ...@@ -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() { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment