emulate certbot hooks environment variables
This commit is contained in:
parent
86e64187cc
commit
b52d983754
|
@ -9,6 +9,8 @@ This project does not follow semantic versioning.
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
* emulate certbot hooks environment variables
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
|
@ -284,6 +284,10 @@ main() {
|
||||||
export EVOACME_CHAIN="${LIVE_CHAIN}"
|
export EVOACME_CHAIN="${LIVE_CHAIN}"
|
||||||
export EVOACME_FULLCHAIN="${LIVE_FULLCHAIN}"
|
export EVOACME_FULLCHAIN="${LIVE_FULLCHAIN}"
|
||||||
|
|
||||||
|
# emulate certbot hooks environment variables
|
||||||
|
export RENEWED_LINEAGE="${LIVE_CHAIN}"
|
||||||
|
export RENEWED_DOMAINS="${VHOST}"
|
||||||
|
|
||||||
# search for files in hooks directory
|
# search for files in hooks directory
|
||||||
for hook in $(find ${HOOKS_DIR} -type f -executable | sort); do
|
for hook in $(find ${HOOKS_DIR} -type f -executable | sort); do
|
||||||
set +e
|
set +e
|
||||||
|
|
Loading…
Reference in a new issue