remove check for mail subdomain pem file, mail subdomain certs should be specified to be removed

This commit is contained in:
Matthew Saunders Brown 2024-03-22 14:07:44 -07:00
parent 3824e07b73
commit 6cde966f6e

View File

@ -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