commit 94f4a9a17543937df69be2349447004ee44f139e parent bf01c8c57f1509d9225f016d5b91cf6b0ff7ed0b Author: ms <ms@taler.net> Date: Sat, 18 Sep 2021 12:50:52 +0200 Restart ARM script, with euFin Diffstat:
| A | bin/taler-deployment-restart-with-eufin | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/bin/taler-deployment-restart-with-eufin 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