commit 505745fa3bab9ef1345a9caaeba387b1b5f4f857 parent 723cf50ba4934ec4561b6011e2aeb129808a6171 Author: MS <ms@taler.net> Date: Tue, 15 Sep 2020 15:26:51 +0200 prepare script init instances Diffstat:
| M | bin/taler-deployment-prepare | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git 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