diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-10 13:33:12 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-10 13:33:19 +0100 |
commit | b8a07ff3a314ae0e72441563f6580e07b3c83773 (patch) | |
tree | 3a790daf95e4cd812a41a51488c6a37df34cc60e /src/testing/taler-unified-setup.sh | |
parent | 2d4d0e7ef13016fd876c288096d4d62575403f76 (diff) |
add support for taler-merchant-exchange to taler-unified-setup.sh
Diffstat (limited to 'src/testing/taler-unified-setup.sh')
-rwxr-xr-x | src/testing/taler-unified-setup.sh | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/src/testing/taler-unified-setup.sh b/src/testing/taler-unified-setup.sh index ee21ac617..ca58d9835 100755 --- a/src/testing/taler-unified-setup.sh +++ b/src/testing/taler-unified-setup.sh @@ -76,6 +76,7 @@ START_BANK=0 START_TRANSFER=0 START_WIREWATCH=0 START_DEPOSITCHECK=0 +START_MERCHANT_EXCHANGE=0 USE_ACCOUNT="exchange-account-1" USE_VALGRIND="" WIRE_DOMAIN="x-taler-bank" @@ -84,7 +85,7 @@ LOGLEVEL="DEBUG" DEFAULT_SLEEP="0.2" # Parse command-line options -while getopts ':abc:d:efghkL:mMnr:stu:vwWD' OPTION; do +while getopts ':abc:d:DeEfghkL:mMnr:stu:vwW' OPTION; do case "$OPTION" in a) START_AUDITOR="1" @@ -98,12 +99,15 @@ while getopts ':abc:d:efghkL:mMnr:stu:vwWD' OPTION; do d) WIRE_DOMAIN="$OPTARG" ;; - D) + D) START_DONAU="1" ;; e) START_EXCHANGE="1" ;; + E) + START_MERCHANT_EXCHANGE="1" + ;; f) START_FAKEBANK="1" ;; @@ -117,22 +121,23 @@ while getopts ':abc:d:efghkL:mMnr:stu:vwWD' OPTION; do echo ' -d $METHOD -- use wire method (default: x-taler-bank)' echo ' -D -- start donau' echo ' -e -- start exchange' + echo ' -E -- start taler-merchant-exchange' echo ' -f -- start fakebank' - echo ' -g -- start aggregator' + echo ' -g -- start taler-exchange-aggregator' echo ' -h -- print this help' # shellcheck disable=SC2016 echo ' -L $LOGLEVEL -- set log level' - echo ' -m -- start merchant' - echo ' -M -- start merchant-depositcheck' + echo ' -m -- start taler-merchant' + echo ' -M -- start taler-merchant-depositcheck' echo ' -n -- start nexus' # shellcheck disable=SC2016 echo ' -r $MEX -- which exchange to use at the merchant (optional)' echo ' -s -- start backup/sync' - echo ' -t -- start transfer' + echo ' -t -- start taler-exchange-transfer' # shellcheck disable=SC2016 echo ' -u $SECTION -- exchange account to use' echo ' -v -- use valgrind' - echo ' -w -- start wirewatch' + echo ' -w -- start taler-exchange-wirewatch' echo ' -W -- wait for signal' exit 0 ;; @@ -563,6 +568,12 @@ then $USE_VALGRIND taler-merchant-webhook \ -c "$CONF" \ -L "$LOGLEVEL" 2> taler-merchant-webhook.log & + if [ "1" = "$START_MERCHANT_EXCHANGE" ] + then + $USE_VALGRIND taler-merchant-exchange \ + -c "$CONF" \ + -L "$LOGLEVEL" 2> taler-merchant-exchange.log & + fi if [ "1" = "$START_DEPOSITCHECK" ] then $USE_VALGRIND taler-merchant-depositcheck \ |