From a7dfc1d5ec73231ccedd7ba7d1dad7f8fc439283 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 23 Jan 2023 21:04:36 -0600 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index bc0b223c..80367c51 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -2050,7 +2050,7 @@ SINGLE_SERVER_SERVICE_CHECK(){ if [[ ${local_ips} = *10.10.1.120* ]]; then if [ -f /mnt/web-data/mounted ]; then for stc in "${services_to_check[@]}"; do - if [ "$(systemctl is-active ${stc}).service" != "active" ]; then + if [ "$(systemctl is-active ${stc}.service)" != "active" ]; then [ "${stc}" = "pdnsadmin" ] && stc="pdnsadmin.socket pdnsadmin.service" for nip in "${WEB_HOSTS[@]}"; do if [[ "${local_ip}" != *"${nip}"* ]]; then