bisq/package/stresstest/init.sh
2017-06-27 01:29:54 +02:00

23 lines
724 B
Bash
Executable File

#!/bin/bash
cd ../../seednode/target
logpath=/Users/dev/Documents/_intellij/bisq/logs
datapath="/Users/dev/Library/Application Support"
mkdir -p $logpath
# rm "$datapath/bisq_seed_node_hlitt7z4bec4kdh4.onion_8000/db/SequenceNumberMap"
# rm "$datapath/bisq_seed_node_hlitt7z4bec4kdh4.onion_8000/db/PersistedPeers"
# rm "$datapath/BS_arb/mainnet/db/SequenceNumberMap"
# rm "$datapath/BS_arb/mainnet/db/PersistedPeers"
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}'`