tilde-projects/Code/irc/run_madlib.sh

9 lines
236 B
Bash
Raw Normal View History

2018-06-13 14:34:23 +00:00
#!/bin/bash
if [[ ! `pidof -sx madlibbot.py` ]]; then
nohup ./madlibbot/madlibbot.py -s 127.0.0.1 -n madlibbot -c \#madlibs >> madliblog 2>> madliblog &
echo "Starting madlibbot"
else
echo "madlibbot has already been started"
fi