update
This commit is contained in:
@@ -740,7 +740,6 @@ SINGLE_SERVER_SERVICE_CHECK(){
|
||||
sleep 5s
|
||||
fi
|
||||
if [ -f ${REPL_CHECKS["${1}-data"]}/mounted ]; then
|
||||
echo mounted
|
||||
for stc in "${!servicestocheck}"; do
|
||||
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"
|
||||
@@ -769,7 +768,6 @@ SINGLE_SERVER_SERVICE_CHECK(){
|
||||
fi
|
||||
done
|
||||
done
|
||||
else echo not mounted
|
||||
fi
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user