bisq/package/stresstest/init.sh

23 lines
724 B
Bash
Raw Normal View History

2016-06-10 22:48:41 +02:00
#!/bin/bash
cd ../../seednode/target
2017-06-27 01:29:51 +02:00
logpath=/Users/dev/Documents/_intellij/bisq/logs
2016-11-19 18:07:44 +01:00
datapath="/Users/dev/Library/Application Support"
2016-06-10 22:48:41 +02:00
mkdir -p $logpath
2017-06-27 01:29:51 +02:00
# rm "$datapath/bisq_seed_node_hlitt7z4bec4kdh4.onion_8000/db/SequenceNumberMap"
# rm "$datapath/bisq_seed_node_hlitt7z4bec4kdh4.onion_8000/db/PersistedPeers"
2016-06-11 13:39:39 +02:00
2016-06-11 21:57:43 +02:00
# rm "$datapath/BS_arb/mainnet/db/SequenceNumberMap"
# rm "$datapath/BS_arb/mainnet/db/PersistedPeers"
2016-06-11 13:39:39 +02:00
2016-06-10 22:48:41 +02:00
nohup java -jar SeedNode.jar hlitt7z4bec4kdh4.onion:8000 0 500 >/dev/null 2>$logpath/ST_0_seednode.log &
sleep 40
cd ../../gui/target
nohup java -jar shaded.jar --app.name=BS_arb --maxConnections=12 >/dev/null 2>$logpath/ST_0_arb.log &
# kill `ps -ef | grep java | grep -v grep | awk '{print $2}'`