gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: prepare script init instances


From: gnunet
Subject: [taler-deployment] branch master updated: prepare script init instances
Date: Tue, 15 Sep 2020 15:26:56 +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 505745f  prepare script init instances
505745f is described below

commit 505745fa3bab9ef1345a9caaeba387b1b5f4f857
Author: MS <ms@taler.net>
AuthorDate: Tue Sep 15 15:26:51 2020 +0200

    prepare script init instances
---
 bin/taler-deployment-prepare | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare
index d1c38cc..67fc44f 100755
--- a/bin/taler-deployment-prepare
+++ b/bin/taler-deployment-prepare
@@ -143,3 +143,20 @@ case $TALER_ENV_NAME in
   *)
     ;;
 esac
+
+# Configure instances.
+taler-deployment-arm -s
+if taler-deployment-arm -I | grep "^taler-merchant"; then
+    echo "Merchant backend runs already, please call 'taler-config-instances' 
manually"
+    exit
+fi
+
+# Quickly start+shutdown a merchant process.
+taler-deployment-arm -i taler-merchant
+sleep 2
+if ! taler-deployment-arm -I | grep "^taler-merchant" | grep "status=started"; 
then
+    echo "Merchant didn't start, cannot configure instances."
+    exit 1
+fi
+
+taler-config-instances

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