Update nodemgmt-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user