Make location of domains.txt configurable (#204)

This is implemented by defining ${DOMAINS_TXT} in config.sh. If not
set in config.sh, it defaults to the previously (hard-coded) location,
which is ${BASEDIR}/domains.txt.
This commit is contained in:
Daniel Beyer
2016-05-22 18:49:17 +02:00
committed by Lukas Schauer
parent 2b50c72b75
commit a3e5ed361b
2 changed files with 10 additions and 3 deletions

View File

@@ -30,6 +30,9 @@
# Base directory for account key, generated certificates and list of domains (default: $SCRIPTDIR -- uses config directory if undefined)
#BASEDIR=$SCRIPTDIR
# File containing the list of domains to request certificates for (default: $BASEDIR/domains.txt)
#DOMAINS_TXT="${BASEDIR}/domains.txt"
# Output directory for challenge-tokens to be served by webserver or deployed in HOOK (default: $BASEDIR/.acme-challenges)
#WELLKNOWN="${BASEDIR}/.acme-challenges"