blob: 592ab6d29a0fad58c2f292edecd686f5700a4476 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/bash
trap "kill 0" EXIT
go build
./server -d 0 &
for i in $(seq 1 9)
do
sleep 0.1
./server -d $i -b :420$i -u http://localhost:420$i -i http://localhost:420$((i-1)) &
done
wait
|