-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstart.sh
executable file
·32 lines (25 loc) · 1.61 KB
/
start.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
sudo rm -rf .dexm*
timestamp=$(date +%s)
timestamp=$((timestamp+130))
echo $timestamp
python timestamp.py $timestamp 1
# scp networking/* [email protected]:/home/antoniogroza/go/src/github.com/dexm-coin/dexmd/networking
# scp blockchain/* [email protected]:/home/antoniogroza/go/src/github.com/dexm-coin/dexmd/blockchain
# ssh [email protected] "cd /home/antoniogroza/go/src/github.com/dexm-coin/dexmd/; git stash; git pull;"
ssh [email protected] "cd /root/go/src/github.com/dexm-coin/dexmd; git stash; git pull;"
ssh [email protected] "cd /root/go/src/github.com/dexm-coin/dexmd; git stash; git pull;"
# ssh [email protected] "cd /home/antoniogroza/go/src/github.com/dexm-coin/protobufs/; git stash; git pull;"
# ssh [email protected] "cd /root/go/src/github.com/dexm-coin/protobufs/; git stash; git pull;"
# ssh [email protected] "cd /root/go/src/github.com/dexm-coin/protobufs/; git stash; git pull;"
scp main.go [email protected]:/home/antoniogroza/go/src/github.com/dexm-coin/dexmd/
scp main.go [email protected]:/root/go/src/github.com/dexm-coin/dexmd
scp main.go [email protected]:/root/go/src/github.com/dexm-coin/dexmd
# konsole -e ssh [email protected] "cd /home/antoniogroza/go/src/github.com/dexm-coin/dexmd/; ./server.sh satoshi3" &
python timestamp.py $timestamp 2
echo "SLEEP"
sleep 60
# echo "GO GO GO!!"
# go run main.go sn w3
konsole -e ssh [email protected] "cd /root/go/src/github.com/dexm-coin/dexmd; ./server.sh wallet3" &
konsole -e ssh [email protected] "cd /root/go/src/github.com/dexm-coin/dexmd; ./server.sh wallet4" &
go run main.go sn wallet2