gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: Restart ARM script, with euFin


From: gnunet
Subject: [taler-deployment] branch master updated: Restart ARM script, with euFin
Date: Sat, 18 Sep 2021 12:50:55 +0200

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

ms pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new 94f4a9a  Restart ARM script, with euFin
94f4a9a is described below

commit 94f4a9a17543937df69be2349447004ee44f139e
Author: ms <ms@taler.net>
AuthorDate: Sat Sep 18 12:50:52 2021 +0200

    Restart ARM script, with euFin
---
 bin/taler-deployment-restart-with-eufin | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/bin/taler-deployment-restart-with-eufin 
b/bin/taler-deployment-restart-with-eufin
new file mode 100755
index 0000000..0f945bd
--- /dev/null
+++ b/bin/taler-deployment-restart-with-eufin
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+set -eu
+
+base=$HOME
+
+export PATH="$base/deployment/bin":$PATH
+
+# might fail if invoked from another script with ulimit
+ulimit -c $((100 * 1024)) &>/dev/null || true
+
+cd $HOME
+
+if taler-deployment-arm -T 300ms -I &>/dev/null; then
+  # looks like deployment is running, stop it
+  taler-deployment-arm -e -T 10s &>/dev/null
+fi
+
+exec taler-deployment-start-with-eufin

-- 
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]