gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-deployment] branch master updated: sandcastle: restart exchange p


From: gnunet
Subject: [taler-deployment] branch master updated: sandcastle: restart exchange periodically
Date: Mon, 10 Jul 2023 12:37:00 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 561468e  sandcastle: restart exchange periodically
561468e is described below

commit 561468e0d6e07f7dc40b3005538c395c7f270bcb
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Jul 10 12:36:57 2023 +0200

    sandcastle: restart exchange periodically
---
 sandcastle/images/exchange/scripts/startup.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sandcastle/images/exchange/scripts/startup.sh 
b/sandcastle/images/exchange/scripts/startup.sh
index 7454143..5d8c0f8 100644
--- 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]