remove check for mail subdomain pem file, mail subdomain certs should be specified to be removed
This commit is contained in:
parent
3824e07b73
commit
6cde966f6e
|
@ -78,10 +78,6 @@ if test -f "/etc/letsencrypt/renewal/$domain.conf"; then
|
||||||
rm "/etc/ssl/letsencrypt/$domain.pem";
|
rm "/etc/ssl/letsencrypt/$domain.pem";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -h "/etc/ssl/letsencrypt/mail.$domain.pem"; then
|
|
||||||
rm "/etc/ssl/letsencrypt/mail.$domain.pem";
|
|
||||||
fi
|
|
||||||
|
|
||||||
else
|
else
|
||||||
echo "Did not find cert for $domain."
|
echo "Did not find cert for $domain."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user