taler-deployment

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

commit 7e014ace9556824e3640fe295eb32127526e564d
parent ab8a642a0f7ad602d2be4461dcfe062148e5efdc
Author: Florian Dold <florian.dold@gmail.com>
Date:   Thu, 26 Mar 2020 18:59:31 +0530

link first

Diffstat:
Mbin/taler-deployment-prepare | 26++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare @@ -56,6 +56,20 @@ taler-exchange-dbinit ## Step 2: Copy key material and update denom keys ## +# For demo, make sure the link to shared data between demo-blue and demo-green is +# set up properly. +case $TALER_ENV_NAME in + demo) + echo "linking taler-data" + ln -sfT ~demo/shared-data ~/taler-data + # Check if we won't mess up permissions later + if [[ ! -g ~/taler-data ]]; then + echo "the shared-data directory should have the set-group-id bit set" + exit 1 + fi + ;; +esac + case $TALER_ENV_NAME in demo|test|int) EXCHANGE_PUB=$(gnunet-ecc -p "$HOME/deployment/private-keys/${TALER_ENV_NAME}-exchange-master.priv") @@ -75,18 +89,6 @@ case $TALER_ENV_NAME in ;; esac -case $TALER_ENV_NAME in - demo) - echo "linking taler-data" - ln -sfT ~demo/shared-data ~/taler-data - # Check if we won't mess up permissions later - if [[ ! -g ~/taler-data ]]; then - echo "the shared-data directory should have the set-group-id bit set" - exit 1 - fi - ;; -esac - EXCHANGE_MASTER_PUB=$(taler-config -s exchange -o master_public_key) taler-auditor-exchange \ -m "$EXCHANGE_MASTER_PUB" \