summaryrefslogtreecommitdiff
path: root/src/exchange/test_taler_exchange_httpd_restart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/exchange/test_taler_exchange_httpd_restart.sh')
-rwxr-xr-xsrc/exchange/test_taler_exchange_httpd_restart.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/exchange/test_taler_exchange_httpd_restart.sh b/src/exchange/test_taler_exchange_httpd_restart.sh
index 2897127f..26a315bf 100755
--- a/src/exchange/test_taler_exchange_httpd_restart.sh
+++ b/src/exchange/test_taler_exchange_httpd_restart.sh
@@ -51,13 +51,15 @@ PREFIX=
# Uncomment this line to run with valgrind...
# PREFIX="valgrind --trace-children=yes --leak-check=yes --track-fds=yes --error-exitcode=1 --log-file=valgrind.%p"
+CONFIG=test_taler_exchange_unix.conf
+
# Setup database
-taler-exchange-dbinit -c test_taler_exchange_unix.conf &> /dev/null
+taler-exchange-dbinit -c $CONFIG &> /dev/null
# Run Exchange HTTPD (in background)
-$PREFIX taler-exchange-httpd -c test_taler_exchange_unix.conf 2> test-exchange.log &
+$PREFIX taler-exchange-httpd -c $CONFIG 2> test-exchange.log &
# Where should we be bound to?
-UNIXPATH=`taler-config -s exchange -f -o UNIXPATH`
+UNIXPATH=`taler-config -c $CONFIG -s exchange -f -o UNIXPATH`
# Give HTTP time to start