diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-03-13 14:55:58 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-03-13 14:55:58 +0100 |
commit | 9c20b62eb965c2b8a9e94f56283d5671e37bc447 (patch) | |
tree | cda1596854b194e6686459ecfa0aed186c5a10aa /src/exchange/test_taler_exchange_httpd.sh | |
parent | 8d5f42fe0cff134120e462c7e905403f7d38b9d6 (diff) | |
download | exchange-9c20b62eb965c2b8a9e94f56283d5671e37bc447.tar.xz |
database setup logic is now external to httpd
Diffstat (limited to 'src/exchange/test_taler_exchange_httpd.sh')
-rwxr-xr-x | src/exchange/test_taler_exchange_httpd.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/exchange/test_taler_exchange_httpd.sh b/src/exchange/test_taler_exchange_httpd.sh index 2ff5830d2..dabe79cb7 100755 --- a/src/exchange/test_taler_exchange_httpd.sh +++ b/src/exchange/test_taler_exchange_httpd.sh @@ -29,12 +29,14 @@ PREFIX= # Uncomment this line to run with valgrind... # PREFIX="valgrind --leak-check=yes --track-fds=yes --error-exitcode=1 --log-file=valgrind.%p" +# Setup database +taler-exchange-dbinit -c test_taler_exchange_httpd.conf &> /dev/null # Setup keys. taler-exchange-keyup -c test_taler_exchange_httpd.conf || exit 1 # Setup wire accounts. taler-exchange-wire -c test_taler_exchange_httpd.conf > /dev/null || exit 1 # Run Exchange HTTPD (in background) -$PREFIX taler-exchange-httpd -c test_taler_exchange_httpd.conf -i 2> test-exchange.log & +$PREFIX taler-exchange-httpd -c test_taler_exchange_httpd.conf 2> test-exchange.log & # Give HTTP time to start |