You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
515 B

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