mirror of
https://github.com/nginx-proxy/docker-letsencrypt-nginx-proxy-companion
synced 2024-09-27 10:40:48 +02:00
Making time to wait configurable
This commit is contained in:
parent
b91ec66d7e
commit
b47755b875
@ -3,7 +3,7 @@
|
||||
# shellcheck source=functions.sh
|
||||
source /app/functions.sh
|
||||
|
||||
seconds_to_wait=3600
|
||||
SECONDS_TO_WAIT="${SECONDS_TO_WAIT:-3600}"
|
||||
ACME_CA_URI="${ACME_CA_URI:-"https://acme-v02.api.letsencrypt.org/directory"}"
|
||||
ACME_CA_TEST_URI="https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||
DEFAULT_KEY_SIZE="${DEFAULT_KEY_SIZE:-4096}"
|
||||
@ -418,7 +418,7 @@ trap 'trap - EXIT' INT TERM
|
||||
update_certs "$@"
|
||||
|
||||
# Wait some amount of time
|
||||
echo "Sleep for ${seconds_to_wait}s"
|
||||
sleep $seconds_to_wait & pid=$!
|
||||
echo "Sleep for ${SECONDS_TO_WAIT}s"
|
||||
sleep $SECONDS_TO_WAIT & pid=$!
|
||||
wait
|
||||
pid=
|
||||
|
Loading…
Reference in New Issue
Block a user