go-dht/run-dev-nodes.sh
run-dev-nodes.shRaw
1SESSION='go-dht'
2
3tmux new-session -d -s $SESSION
4tmux split-window -d -t 0 -v
5tmux split-window -d -t 0 -h
6
7
8tmux send-keys -t 0 'go run main.go --config config.test0.yaml --debug start' enter
9sleep 2
10tmux send-keys -t 1 'go run main.go --config config.test1.yaml --debug start' enter
11tmux send-keys -t 2 'go run main.go --config config.test2.yaml --debug start' enter
12
13tmux attach