blob: ef9c2fcb596c4ac2b9f958c86fa6e6e1cdc5c092 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
if [ -z "$1" ]; then
echo "Usage: $0 <db-name> <geoip-db-file>"
exit 1
fi
TEST_D="./test"
TEST_DB="$TEST_D/$1.bolt"
EXTRA_OPTS=""
mkdir -p "$TEST_D"
rm -f "$TEST_D/pipe" "$TEST_D/pipegram"
exec ./bin/sfive-hub -db "$TEST_DB" -start-pipe-server -pipe "$TEST_D/pipe" -start-pipegram-server -pipegram "$TEST_D/pipegram" -start-web-server -web ":8000" -geoip-db $2
|