Replace letsencrypt_acme_sh_install with letsencrypt_acme_install.
This commit is contained in:
parent
8648bce91d
commit
234576bedb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue