mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-20 07:46:05 -04:00
update scripts
This commit is contained in:
parent
6e770dac2b
commit
1aba53dd06
@ -8,4 +8,4 @@ find . -name \*SequenceNumberMap -type f -delete
|
||||
find . -name \*PersistedPeers -type f -delete
|
||||
find . -name \*bitsquare.log -type f -delete
|
||||
find . -name \*__MACOSX -type d -delete
|
||||
find . -name \*backup -type d -exec rm -R -f {}
|
||||
find . -name \*backup -type d -exec rm -R -f {} +
|
||||
|
@ -6,14 +6,10 @@ logpath=/Users/mk/Documents/_intellij/bitsquare/logs
|
||||
datapath="/Users/mk/Library/Application Support"
|
||||
mkdir -p $logpath
|
||||
|
||||
rm "$datapath/Bitsquare_seed_node_hlitt7z4bec4kdh4.onion_8000/db/SequenceNumberMap"
|
||||
rm "$datapath/Bitsquare_seed_node_hlitt7z4bec4kdh4.onion_8000/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
|
||||
rm "$datapath/BS_arb/mainnet/db/SequenceNumberMap"
|
||||
rm "$datapath/BS_arb/mainnet/db/PersistedPeers"
|
||||
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}'`
|
||||
|
@ -11,8 +11,6 @@ delay=5
|
||||
for i in `seq 1 10`;
|
||||
do
|
||||
echo $i
|
||||
rm $datapath/BS_$i/mainnet/db/SequenceNumberMap
|
||||
rm $datapath/BS_$i/mainnet/db/PersistedPeers
|
||||
nohup java -jar shaded.jar --app.name=BS_$i --maxConnections=12 >/dev/null 2>$logpath/ST_$i.log &
|
||||
sleep $delay
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user