Change the letsencrypt env path

This commit is contained in:
Andrea Dell'Amico 2023-03-24 14:42:27 +01:00
parent a160e8d92c
commit e98afca613
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@ DATE=$( date )
[ ! -d $LE_LOG_DIR ] && mkdir $LE_LOG_DIR
echo "$DATE" >> $LE_LOG_DIR/apache.log
if [ -f /etc/default/letsencrypt ] ; then
. /etc/default/letsencrypt
if [ -f /etc/default/acme_sh_request_env ] ; then
. /etc/default/acme_sh_request_env
else
echo "No letsencrypt default file" >> $LE_LOG_DIR/apache.log
fi