taler-deployment

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

commit 429c31693508d3bf962541b57fa7efaa1a6dcf91
parent 67fc7d20de3696e97ece0e225cf4cbb0406932b2
Author: ms <ms@taler.net>
Date:   Sat, 26 Jun 2021 08:33:49 +0200

Tip reserve creation goes into the prepare script.

Diffstat:
Mbin/taler-deployment-prepare | 20++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare @@ -173,14 +173,30 @@ if taler-deployment-arm -I | grep "^taler-merchant" > /dev/null; then exit fi -# Quickly start+shutdown a merchant process. +# Need those 3 services to config instances and tip reserve: taler-deployment-arm -i taler-merchant -sleep 2 +taler-deployment-arm -i taler-demobank +taler-deployment-arm -i taler-exchange +sleep 5 + if ! taler-deployment-arm -I | grep "^taler-merchant" | grep "status=started" > /dev/null; then echo "Merchant didn't start, cannot configure instances." exit 1 fi +if ! taler-deployment-arm -I | grep "^taler-demobank" | grep "status=started" > /dev/null; then + echo "Bank didn't start, cannot create tip reserve." + exit 1 +fi + +if ! taler-deployment-arm -I | grep "^taler-exchange" | grep "status=started" > /dev/null; then + echo "Exchange didn't start, cannot create tip reserve." + exit 1 +fi + taler-deployment-config-instances +taler-deployment-config-tips taler-deployment-arm -k taler-merchant +taler-deployment-arm -k taler-demobank +taler-deployment-arm -k taler-exchange taler-deployment-arm -e