Skip to content

Instantly share code, notes, and snippets.

@burturt
Created November 18, 2020 05:02
Show Gist options
  • Save burturt/192363580ef861a2a278645f3e720c44 to your computer and use it in GitHub Desktop.
Save burturt/192363580ef861a2a278645f3e720c44 to your computer and use it in GitHub Desktop.
tmux boot script
#!/bin/bash
tmux new-session -d -s discordBots -n voice
tmux send-keys -t discordBots:voice "cd /home/ubuntu/Auto-Voice-Channels" Enter
tmux send-keys -t discordBots:voice "./start.sh" Enter
tmux neww -n whitelist
tmux send-keys -t discordBots:whitelist "cd /home/ubuntu/discordwhitelistbot" Enter
tmux send-keys -t discordBots:whitelist "./start.sh" Enter
tmux neww -n pin
tmux send-keys -t discordBots:pin "cd /home/ubuntu/pinbot" Enter
tmux send-keys -t discordBots:pin "./start.sh" Enter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment