update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='4.7.135-06212023'
|
VERS='4.7.140-06212023'
|
||||||
|
|
||||||
# NODETYPES=WEB
|
# NODETYPES=WEB
|
||||||
NODETYPES=LB,LPD,MM,MYSQL,NC,PW,WPD,WM,WEB
|
NODETYPES=LB,LPD,MM,MYSQL,NC,PW,WPD,WM,WEB
|
||||||
|
|||||||
@@ -740,7 +740,6 @@ SINGLE_SERVER_SERVICE_CHECK(){
|
|||||||
sleep 5s
|
sleep 5s
|
||||||
fi
|
fi
|
||||||
if [ -f ${REPL_CHECKS["${1}-data"]}/mounted ]; then
|
if [ -f ${REPL_CHECKS["${1}-data"]}/mounted ]; then
|
||||||
echo mounted
|
|
||||||
for stc in "${!servicestocheck}"; do
|
for stc in "${!servicestocheck}"; do
|
||||||
if [ "$(systemctl is-active ${stc}.service)" != "active" ]; then
|
if [ "$(systemctl is-active ${stc}.service)" != "active" ]; then
|
||||||
SENDNOTICE "Node-Balancing Notice" "Starting ${stc} on ${NM_NODETYPES["WEB"]}-Node${local_ip: -1} (${local_ip}), stopping on the other Nodes"
|
SENDNOTICE "Node-Balancing Notice" "Starting ${stc} on ${NM_NODETYPES["WEB"]}-Node${local_ip: -1} (${local_ip}), stopping on the other Nodes"
|
||||||
@@ -769,7 +768,6 @@ SINGLE_SERVER_SERVICE_CHECK(){
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
else echo not mounted
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user