Update nodemgmt-scripts.sh
This commit is contained in:
@@ -2058,14 +2058,17 @@ SINGLE_SERVER_SERVICE_CHECK(){
|
||||
ssh root@${nip} /bin/systemctl stop ${stc}
|
||||
fi
|
||||
done
|
||||
/bin/systemctl start gitea &
|
||||
/bin/systemctl start ${stc} &
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
else
|
||||
/bin/systemctl stop gitea &
|
||||
/bin/systemctl stop pdnsadmin.service pdnsadmin.socket &
|
||||
for stc in "${services_to_check[@]}"; do
|
||||
[ "${stc}" = "pdnsadmin" ] && stc="pdnsadmin.socket pdnsadmin.service"
|
||||
/bin/systemctl stop ${stc} &
|
||||
done
|
||||
|
||||
fi
|
||||
|
||||
if [ "$(systemctl is-active nginx)" != "active" ]; then
|
||||
|
||||
Reference in New Issue
Block a user