tmux_sessions.sh 500 B

123456789101112131415
  1. #!/bin/sh
  2. set -e
  3. # Start a tmux session with two consensus nodes and a non-consensus node, and
  4. # a faucet that's able to mint tokens.
  5. tmux new-session -d "LOG_TARGETS='!sled' ../../darkfid -v -c darkfid0.toml"
  6. sleep 2
  7. tmux split-window -v "LOG_TARGETS='!sled' ../../darkfid -v -c darkfid1.toml"
  8. sleep 2
  9. tmux split-window -h "LOG_TARGETS='!sled' ../../darkfid -v -c darkfid2.toml"
  10. sleep 2
  11. tmux select-pane -t 0
  12. tmux split-window -h "LOG_TARGETS='!sled' ../../faucetd -v -c faucetd.toml"
  13. tmux attach