#!/bin/bash
# Automatically recreate all of CCMC's tmux sessions and start all servers after reboot

tmux new-session -d -s bungeecord
tmux new-session -d -s saikban
tmux new-session -d -s workflow

tmux send-keys -t bungeecord "cd ~/servers/bungeecord && ./start.sh" Enter
tmux send-keys -t saikban "cd ~/servers/saikban-web && ./start.sh" Enter
tmux send-keys -t workflow "echo mc_start_after_boot.sh executed." Enter

#!/bin/bash
# Automatically recreate all of CCMC's tmux sessions and start all servers after reboot

tmux new-session -d -s bungeecord
tmux new-session -d -s saikban
tmux new-session -d -s supybot
tmux new-session -d -s workflow

tmux send-keys -t bungeecord "cd ~/servers/bungeecord && ./start.sh" Enter
tmux send-keys -t saikban "cd ~/servers/saikban-web && ./start.sh" Enter
tmux send-keys -t supybot "supybot limnoria/fanshawe/Fanshawe.conf" Enter
tmux send-keys -t workflow "echo mc_start_after_boot.sh executed." Enter

Make supybot tmux window persist after boot
Make supybot tmux window persist after boot
