fix: sometimes renewals fail
This commit is contained in:
parent
48535f4382
commit
f2c96a0218
1 changed files with 2 additions and 1 deletions
|
@ -112,7 +112,8 @@ case $1 in
|
|||
if test -s "/etc/letsencrypt/renewal/${domain}.conf"; then
|
||||
ok "${domain} already issued"
|
||||
continue
|
||||
else
|
||||
# The file exists but it's empty and it was issued before
|
||||
elif test -f "/etc/letsencrypt/renewal/${domain}.conf" && test -d "/etc/letsencrypt/archive/${domain}"; then
|
||||
ok "${domain} renewal conf was empty, fixing..."
|
||||
|
||||
other_renewal="$(grep -l -m 1 "^authenticator = webroot$" /etc/letsencrypt/renewal/*.conf | head -1)"
|
||||
|
|
Loading…
Reference in a new issue