Replace letsencrypt_acme_sh_install with letsencrypt_acme_install.

This commit is contained in:
Andrea Dell'Amico 2023-10-16 19:14:25 +02:00
parent 8648bce91d
commit 234576bedb
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 4 deletions

View File

@ -13,9 +13,6 @@ DATE=$( date )
echo "$DATE" >> $LE_LOG_DIR/kibana.log
{% if letsencrypt_acme_install %}
LE_ENV_FILE=/etc/default/letsencrypt
{% endif %}
{% if letsencrypt_acme_sh_install %}
LE_ENV_FILE=/etc/default/acme_sh_request_env
{% endif %}
if [ -f "$LE_ENV_FILE" ] ; then
@ -35,4 +32,4 @@ systemctl restart kibana >> $LE_LOG_DIR/kibana.log 2>&1
echo "Done." >> $LE_LOG_DIR/kibana.log
exit 0
exit 0