Commit 0f6df932 authored by Jonathan Harker's avatar Jonathan Harker

Added crappy runbot script.

parent 9788f955
#!/bin/sh
PATH=/bin:/usr/bin
SERVERS=`ps -ef|grep 'lolbot.py'|grep -v grep|awk '{print $2}'`
if [ "$SERVERS" != "" ]; then
kill $SERVERS
fi
APP_PATH=/home/johnno/projects/lolbot
cd /tmp
nohup /usr/bin/python $APP_PATH/lolbot.py irc.freenode.net "#zomglol" lolbot > $APP_PATH/server.log 2> $APP_PATH/error.log &
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment