diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-28 20:20:57 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-06-28 20:20:57 +0200 |
commit | 926b54290097d8607476ec73405519abebd5efea (patch) | |
tree | 9e8d353317a2bf1435b6a933064d16edc0dec1b2 /bin/taler-deployment-start | |
parent | 68d287037b3c99476ac33bd77213bdb0c0a3752e (diff) | |
download | deployment-926b54290097d8607476ec73405519abebd5efea.tar.gz deployment-926b54290097d8607476ec73405519abebd5efea.tar.bz2 deployment-926b54290097d8607476ec73405519abebd5efea.zip |
Config.
Instruct the ARM to launch the Twisters conditionally.
Diffstat (limited to 'bin/taler-deployment-start')
-rwxr-xr-x | bin/taler-deployment-start | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/bin/taler-deployment-start b/bin/taler-deployment-start index c291c11..73918f1 100755 --- a/bin/taler-deployment-start +++ b/bin/taler-deployment-start @@ -1,8 +1,6 @@ #!/bin/bash -base=$HOME - -export PATH="$base/deployment":$PATH +export PATH="$HOME/deployment":$PATH # might fail if invoked from another script with ulimit ulimit -c $((100 * 1024)) &>/dev/null || true @@ -11,10 +9,6 @@ cd $HOME taler-deployment-arm -s -if [ "${TALER_CONFIG_STANDALONE:-0}" = 1 ]; then - taler-deployment-arm -i taler-postgres-standalone -fi - taler-deployment-arm -i taler-exchange taler-deployment-arm -i taler-auditor taler-deployment-arm -i taler-merchant @@ -25,9 +19,12 @@ taler-deployment-arm -i taler-survey taler-deployment-arm -i taler-aggregator taler-deployment-arm -i taler-exchange-wirewatch taler-deployment-arm -i taler-backoffice -taler-deployment-arm -i taler-twister -taler-deployment-arm -i taler-twister-exchange -taler-deployment-arm -i taler-twister-bank + +if $(taler-config -s twister -o taler_deploy >& /dev/null); then + taler-deployment-arm -i taler-twister + taler-deployment-arm -i taler-twister-exchange + taler-deployment-arm -i taler-twister-bank +fi if [[ "$TALER_ENV_NAME" = test ]]; then taler-deployment-arm -i taler-playground |