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.

14 lines
303 B

5 years ago
  1. #!/bin/sh
  2. SESSION="slowlorisdb"
  3. tmux kill-session -t $SESSION || true
  4. tmux new-session -d -s $SESSION
  5. tmux split-window -d -t 0 -v
  6. tmux send-keys -t 0 "go run main.go --config config0.yaml start" enter
  7. tmux send-keys -t 1 "go run main.go --config config1.yaml start" enter
  8. tmux attach -t $SESSION