taler-deployment

Deployment scripts and configuration files
Log | Files | Refs | README

commit 561468e0d6e07f7dc40b3005538c395c7f270bcb
parent 1b6f704ff8ba2d065dafd02f991340d846407428
Author: Florian Dold <florian@dold.me>
Date:   Mon, 10 Jul 2023 12:36:57 +0200

sandcastle: restart exchange periodically

Diffstat:
Msandcastle/images/exchange/scripts/startup.sh | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/sandcastle/images/exchange/scripts/startup.sh b/sandcastle/images/exchange/scripts/startup.sh @@ -74,4 +74,10 @@ echo -n "Requesting exchange's /keys..." curl --max-time 4 -s "${EXCHANGE_URL}keys" echo DONE +# Spawn a process that will fail after an hour, +# to facilitate restarting every hour. +( sleep 3600 && exit 1) & + +# Exit once a single process fails. +# Then, docker-compose will restart the whole container. wait -n