mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-27 19:41:09 +01:00
Add conf.d support
This adds support for a new config variable CONFIG_D in the main configuration file. Setting a path to a directoy for CONFIG_D advises letsencrypt.sh to source any additional files found in the specified CONFIG_D directory, that have a '.sh' ending. By default CONFIG_D is not set, meaning letsencrypt.sh does not source any additional configuration files.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
########################################################
|
||||
# This is the config file for letsencrypt.sh #
|
||||
# This is the main config file for letsencrypt.sh #
|
||||
# #
|
||||
# This file is looked for in the following locations: #
|
||||
# $SCRIPTDIR/config.sh (next to this script) #
|
||||
@@ -21,6 +21,12 @@
|
||||
# Which challenge should be used? Currently http-01 and dns-01 are supported
|
||||
#CHALLENGETYPE="http-01"
|
||||
|
||||
# Path to a directory containing additional config files, allowing to override
|
||||
# the defaults found in the main configuration file. Additional config files
|
||||
# in this directory needs to be named with a '.sh' ending.
|
||||
# default: <unset>
|
||||
#CONFIG_D=
|
||||
|
||||
# Base directory for account key, generated certificates and list of domains (default: $SCRIPTDIR -- uses config directory if undefined)
|
||||
#BASEDIR=$SCRIPTDIR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user