Added new parameter dnssleep
Added new parametr dnssleep for better handling sleep time after succesful insert of records via dns api
This commit is contained in:
parent
d65e3d9a6e
commit
cf0c23049c
9
acme.sh
9
acme.sh
@ -1371,8 +1371,8 @@ issue() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$dnsadded" = '1' ] ; then
|
if [ "$dnsadded" = '1' ] ; then
|
||||||
_info "Sleep 60 seconds for the txt records to take effect"
|
_info "Sleep $dnssleep seconds for the txt records to take effect"
|
||||||
sleep 60
|
sleep $dnssleep
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_debug "ok, let's start to verify"
|
_debug "ok, let's start to verify"
|
||||||
@ -2163,6 +2163,7 @@ Parameters:
|
|||||||
--standalone Use standalone mode.
|
--standalone Use standalone mode.
|
||||||
--apache Use apache mode.
|
--apache Use apache mode.
|
||||||
--dns [dns_cf|dns_dp|dns_cx|/path/to/api/file] Use dns mode or dns api.
|
--dns [dns_cf|dns_dp|dns_cx|/path/to/api/file] Use dns mode or dns api.
|
||||||
|
--dnssleep # Number of seconds for sleep (for reload dns cache etc.), after succesful insert dns records via dns api.
|
||||||
|
|
||||||
--keylength, -k [2048] Specifies the domain key length: 2048, 3072, 4096, 8192 or ec-256, ec-384.
|
--keylength, -k [2048] Specifies the domain key length: 2048, 3072, 4096, 8192 or ec-256, ec-384.
|
||||||
--accountkeylength, -ak [2048] Specifies the account key length.
|
--accountkeylength, -ak [2048] Specifies the account key length.
|
||||||
@ -2359,6 +2360,10 @@ _process() {
|
|||||||
_webroot="$_webroot,$wvalue"
|
_webroot="$_webroot,$wvalue"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
--dnssleep
|
||||||
|
dnssleep="$2"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
--keylength|-k)
|
--keylength|-k)
|
||||||
_keylength="$2"
|
_keylength="$2"
|
||||||
accountkeylength="$2"
|
accountkeylength="$2"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user