summaryrefslogtreecommitdiffstats
path: root/tools/run-tls.sh
blob: c1b84eae0677b05932d16c95851f5c0c50964d90 (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; read" \; \
	split-window "sleep 1; go run cmd/client/main.go -tls -tls-insecure -u user2; read" \; \
	split-window "sleep 1; go run cmd/client/main.go -tls -tls-insecure -u user3; read" \; \
	select-layout tiled;