From d76ab800f82b674aa1f10022a693abc9d88d0a68 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 16 Jan 2024 22:33:23 -0600 Subject: [PATCH] update --- defaults.inc | 2 +- inc/services.inc | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/defaults.inc b/defaults.inc index d98b6195..d955b2ad 100755 --- a/defaults.inc +++ b/defaults.inc @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERS='5.1.77-01162024' +VERS='5.1.78-01162024' NM_BETA=false noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck ' diff --git a/inc/services.inc b/inc/services.inc index 55f86f9c..1ab028a9 100755 --- a/inc/services.inc +++ b/inc/services.inc @@ -268,7 +268,7 @@ SERVICE_MGMT(){ echo -e "${idsCL[LightGreen]}-------------------------------------------${idsCL[Default]}" fi - echo "HERE: ${NT_HOST} = ${!NT_HOST}" + # echo "HERE: ${NT_HOST} = ${!NT_HOST}" if [ "${SERVICE['service']}" = "nginx" ] && ([ "${SERVICE['node']}" == "" ] || [ "${SERVICE['node']}" == "ALL" ]); then if [ "${RUN_NODE_TYPE}" != "" ] && [ "${NM_REPL_NGINX_PATHS[${RUN_NODE_TYPE}]}" != "" ] && ([ "${SERVICE['action']}" = "restart" ] || [ "${SERVICE['action']}" = "reload" ]); then if [ "${SERVICE['node']}" != "ns" ]; then @@ -295,7 +295,6 @@ SERVICE_MGMT(){ fi fi elif ([ "${SERVICE['service']}" = "pdns" ] || [ "${SERVICE['service']}" = "pdnsadmin" ] || [ "${SERVICE['service']}" = "headscale" ]) && ([ "${SERVICE['node']}" == "" ] || [ "${SERVICE['node']}" == "ALL" ]); then - echo 1 if [ "${SERVICE['action']}" = "start" ] || [ "${SERVICE['action']}" = "restart" ] || [ "${SERVICE['action']}" = "reload" ]; then if [ "${SERVICE['node']}" != "ns" ]; then [ ${QUIET} -eq 0 ] && echo -en "${idsCL[LightYellow]}Verifying replication across the nodes... ${idsCL[Default]}" @@ -318,7 +317,6 @@ SERVICE_MGMT(){ fi fi fi - echo 2 if [ ${QUIET} -eq 0 ]; then echo -e "${idsCL[Green]}Completed${idsCL[Default]}" echo