fix if letsencrypt-deploy.path is-enabled check

This commit is contained in:
Matthew Saunders Brown 2025-01-08 10:55:46 -08:00
parent ac0c07f96b
commit 620b1ca2a1

View File

@ -59,7 +59,8 @@ if [[ -f /etc/ssl/letsencrypt/$domain.pem ]]; then
fi fi
# check that letsencrypt-deploy.path is enabled # check that letsencrypt-deploy.path is enabled
if [[ ! systemctl --quiet is-enabled letsencrypt-deploy.path ]]; then if ! systemctl --quiet is-enabled letsencrypt-deploy.path
then
echo "letsencrypt-deploy.path is not enabled." echo "letsencrypt-deploy.path is not enabled."
exit 1 exit 1
fi fi