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
|
||||
|
||||
* emulate certbot hooks environment variables
|
||||
|
||||
### Changed
|
||||
|
||||
### Deprecated
|
||||
|
|
|
@ -284,6 +284,10 @@ main() {
|
|||
export EVOACME_CHAIN="${LIVE_CHAIN}"
|
||||
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
|
||||
for hook in $(find ${HOOKS_DIR} -type f -executable | sort); do
|
||||
set +e
|
||||
|
|
Loading…
Reference in a new issue