remove dnssleep flag
This commit is contained in:
parent
c20e22c7c5
commit
bb1eced642
|
@ -22,10 +22,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
# find curl binary path
|
# find curl binary path
|
||||||
CURL_BIN="$(/usr/bin/which curl)"
|
CURL_BIN="$(command -v curl)"
|
||||||
|
|
||||||
# install curl if needed
|
# install curl if needed
|
||||||
[ ! -x "$CURL_BIN" ] && {
|
[ -z "$CURL_BIN" ] && {
|
||||||
apt-get install curl -y >>/dev/null
|
apt-get install curl -y >>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -161,11 +161,11 @@ fi
|
||||||
if [ ! -d $HOME/.acme.sh/${domain_name}_ecc ] || [ ! -f /etc/letsencrypt/live/${domain_name}/fullchain.pem ]; then
|
if [ ! -d $HOME/.acme.sh/${domain_name}_ecc ] || [ ! -f /etc/letsencrypt/live/${domain_name}/fullchain.pem ]; then
|
||||||
if [ "$acme_validation" = "cloudflare" ]; then
|
if [ "$acme_validation" = "cloudflare" ]; then
|
||||||
if [ "$domain_type" = "domain" ]; then
|
if [ "$domain_type" = "domain" ]; then
|
||||||
$HOME/.acme.sh/acme.sh --issue -d "$domain_name" -d www.${domain_name} -k ec-384 --dns dns_cf --dnssleep 60
|
$HOME/.acme.sh/acme.sh --issue -d "$domain_name" -d www.${domain_name} -k ec-384 --dns dns_cf
|
||||||
elif [ "$domain_type" = "subdomain" ]; then
|
elif [ "$domain_type" = "subdomain" ]; then
|
||||||
$HOME/.acme.sh/acme.sh --issue -d "$domain_name" -k ec-384 --dns dns_cf --dnssleep 60
|
$HOME/.acme.sh/acme.sh --issue -d "$domain_name" -k ec-384 --dns dns_cf
|
||||||
elif [ "$domain_type" = "wildcard" ]; then
|
elif [ "$domain_type" = "wildcard" ]; then
|
||||||
$HOME/.acme.sh/acme.sh --issue -d "$domain_name" -d \*.${domain_name} -k ec-384 --dns dns_cf --dnssleep 60
|
$HOME/.acme.sh/acme.sh --issue -d "$domain_name" -d \*.${domain_name} -k ec-384 --dns dns_cf
|
||||||
fi
|
fi
|
||||||
elif [ "$acme_validation" = "standalone" ]; then
|
elif [ "$acme_validation" = "standalone" ]; then
|
||||||
SERVER_PUBLIC_IP=$("$CURL_BIN" -s https://v4.vtbox.net)
|
SERVER_PUBLIC_IP=$("$CURL_BIN" -s https://v4.vtbox.net)
|
||||||
|
|
Loading…
Reference in New Issue