This commit is contained in:
2023-09-11 22:09:27 -05:00
parent 9e3b127146
commit ef4ae31119
2 changed files with 11 additions and 7 deletions

View File

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

View File

@@ -714,12 +714,16 @@ REPLCHECK(){
rcheck=${1}
nip=${2}
PH_CMD=${3}
if [ "${4}" != "check" ]; then
timeout=`date --date='1 minutes' +%s`
# timeout=`date --date='30 seconds' +%s`
else
timeout=`date --date='2 minutes' +%s`
fi
# if [ "${4}" != "check" ]; then
# timeout=`date --date='1 minutes' +%s`
# # timeout=`date --date='30 seconds' +%s`
# else
# timeout=`date --date='2 minutes' +%s`
# fi
timeout=`date --date='1 minutes' +%s`
# timeout=`date --date='30 seconds' +%s`
checked=false
until [ "${checked}" == "" ]; do
if [ "${PH_CMD}" == "" ]; then