arnaucube
arnaucube/slowlorisdbPublic Self-hosted repository
slowlorisdb/run-test-nodes.sh
run-test-nodes.shRaw
 1#!/bin/sh
 2
 3SESSION="slowlorisdb"
 4
 5tmux kill-session -t $SESSION || true
 6
 7tmux new-session -d -s $SESSION
 8tmux split-window -d -t 0 -v
 9
10tmux send-keys -t 0 "go run main.go --config config0.yaml start" enter
11tmux send-keys -t 1 "go run main.go --config config1.yaml start" enter
12
13tmux attach -t $SESSION
14