From d3e46ec3d234983ac067715ca0e651c8daa47ba9 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Mon, 23 Jan 2023 20:53:15 -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 3709f760..57b5497a 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -2043,7 +2043,7 @@ HAPROXY-CONFIG() { SINGLE_SERVER_SERVICE_CHECK(){ if [ "${1}" = "web" ]; then local_ips=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1); - loca_ip=$(/sbin/ip -o -4 addr list eth0 |grep 255 | awk '{print $4}' | cut -d/ -f1) + local_ip=$(/sbin/ip -o -4 addr list eth0 |grep 255 | awk '{print $4}' | cut -d/ -f1) if [[ ${local_ips} = *10.10.1.120* ]]; then if [ -f /mnt/web-data/mounted ]; then if [ "$(systemctl is-active gitea)" != "active" ]; then