tilde-projects/Code/irc/run_banter.sh

10 lines
346 B
Bash
Executable File

#!/bin/bash
if [[ ! `pidof -sx banterbot.py` ]]; then
#nohup ./banterbot.py -s 127.0.0.1:6667 -n banterbot -c \#tildetown \#bots >> banterlog 2>> banterlog &
echo "Starting banterbot"
nohup ./banterbot.py -s 127.0.0.1:6667 -n banterbot -c \#tildetown \#bots >> banterlog 2>> banterlog &
else
echo "Banterbot has already been started"
fi