This commit is contained in:
2023-11-29 10:14:10 -06:00
parent c1864e7b47
commit 448a84ef0d
2 changed files with 1 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
VERS='4.16.10-11292023'
VERS='4.16.12-11292023'
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log '
CERT_DAEMON='/snap/bin/certbot'

View File

@@ -23,7 +23,6 @@ SINGLE_SERVER_SERVICE_CHECK(){
fi
if [ "${gofor}" == "true" ]; then
for stc in "${!servicestocheck}"; do
echo "SERVICE: $stc"
if [ "$(systemctl is-active ${stc}.service)" != "active" ]; then
echo "$(date +%Y-%m-%d-%H-%M-%S) - ${NM_HOSTNAMES[${RUN_NODE_IP}]} - Starting ${stc} on ${RUN_NODE_IP}, stopping on the other Nodes ..." >> ${NM_LOGFILE}
@@ -42,7 +41,6 @@ SINGLE_SERVER_SERVICE_CHECK(){
fi
done
for docker in "${!dockerstocheck}"; do
echo "docker: $docker"
for nip in "${!hosts}"; do
if [[ "${RUN_NODE_IP}" = *"${nip}"* ]]; then
if [ "docker ps -a | grep ${docker})" ]; then