fix if letsencrypt-deploy.path is-enabled check
This commit is contained in:
parent
ac0c07f96b
commit
620b1ca2a1
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user