Browse Source

Conditionally set LECONFIGDIR

To be able to set LECONFIGDIR in env var for tests or different setups
master
Jonathan Golder 7 years ago
parent
commit
0bc92aa2ee
  1. 4
      letsencrypt-renew.sh

4
letsencrypt-renew.sh

@ -29,7 +29,9 @@
PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
# PATH to inifiles / letsencrypt dir
LECONFIGDIR="~/.config/letsencrypt"
if [ -z "${LECONFIGDIR}" ]; then
LECONFIGDIR="~/.config/letsencrypt"
fi
# Catch missing LECONFIGDIR
if [ ! -d "${LECONFIGDIR}" ]; then

Loading…
Cancel
Save