summaryrefslogtreecommitdiffstats
path: root/tools/run-tls.sh
blob: f9b9e0357e84d1e171d0543239f3e3fa7ef9e9f9 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

tmux \
	new-session  "go run cmd/daemon/main.go -tls -tls-cert cert.pem -tls-key key.pem -test -db test.db; read" \; \
	split-window "sleep 1; go run cmd/client/main.go -tls -tls-insecure -u user1@localhost -p test; read" \; \
	split-window "sleep 1; go run cmd/client/main.go -tls -tls-insecure -u user2@localhost -p test; read" \; \
	split-window "sleep 1; go run cmd/client/main.go -tls -tls-insecure -u user3@localhost -p test; read" \; \
	select-layout tiled;