Change the letsencrypt env path
This commit is contained in:
parent
a160e8d92c
commit
e98afca613
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue