summaryrefslogtreecommitdiff
path: root/src/hub/test-fwd
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-04-28 00:12:07 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-04-28 00:12:07 +0200
commit123c16701fe60c3c4d47abfb7d9b3e5f5b931d70 (patch)
treebda867d45307430c3671ed90e1e54e684faa5c2c /src/hub/test-fwd
parentweb uses server to access store now (diff)
forwarding works now
Diffstat (limited to 'src/hub/test-fwd')
-rwxr-xr-xsrc/hub/test-fwd7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/hub/test-fwd b/src/hub/test-fwd
index ce6e0e3..35dd324 100755
--- a/src/hub/test-fwd
+++ b/src/hub/test-fwd
@@ -1,6 +1,11 @@
#!/bin/sh
+if [ -z "$1" ]; then
+ echo "Usage: $0 <db-name>"
+ exit 1
+fi
+
TEST_D="./test"
-TEST_DB="$TEST_D/db.bolt"
+TEST_DB="$TEST_D/$1.bolt"
exec ./bin/sfive-hub -db "$TEST_DB" -start-pipe-server=false -start-pipegram-server=false -start-web-server=false -forward-url="http://localhost:8000"