update
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/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 '
|
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'
|
CERT_DAEMON='/snap/bin/certbot'
|
||||||
|
|||||||
@@ -714,12 +714,16 @@ REPLCHECK(){
|
|||||||
rcheck=${1}
|
rcheck=${1}
|
||||||
nip=${2}
|
nip=${2}
|
||||||
PH_CMD=${3}
|
PH_CMD=${3}
|
||||||
if [ "${4}" != "check" ]; then
|
|
||||||
timeout=`date --date='1 minutes' +%s`
|
# if [ "${4}" != "check" ]; then
|
||||||
# timeout=`date --date='30 seconds' +%s`
|
# timeout=`date --date='1 minutes' +%s`
|
||||||
else
|
# # timeout=`date --date='30 seconds' +%s`
|
||||||
timeout=`date --date='2 minutes' +%s`
|
# else
|
||||||
fi
|
# timeout=`date --date='2 minutes' +%s`
|
||||||
|
# fi
|
||||||
|
timeout=`date --date='1 minutes' +%s`
|
||||||
|
# timeout=`date --date='30 seconds' +%s`
|
||||||
|
|
||||||
checked=false
|
checked=false
|
||||||
until [ "${checked}" == "" ]; do
|
until [ "${checked}" == "" ]; do
|
||||||
if [ "${PH_CMD}" == "" ]; then
|
if [ "${PH_CMD}" == "" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user