X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fbotchk.sh;h=f67b5d0a6c56d47532111af11e3eb57fe60f5a9c;hb=03c07114f2e65815bb4efef0fc9c1579edc74e54;hp=7ed1b0d9e8ddf8e4caa3e4c0c130131adf43e730;hpb=f0a00b56d1497c3b3f0d33e0d57e5d31a0161a55;p=infobot.git diff --git a/scripts/botchk.sh b/scripts/botchk.sh index 7ed1b0d..f67b5d0 100755 --- a/scripts/botchk.sh +++ b/scripts/botchk.sh @@ -1,7 +1,7 @@ #!/bin/sh BOTDIR=/home/apt/bot -BOTNICK=blootbot +BOTNICK=infobot PIDFILE=$BOTDIR/$BOTNICK.pid if [ -f $PIDFILE ]; then # exists. @@ -10,10 +10,10 @@ if [ -f $PIDFILE ]; then # exists. exit 0 fi - # blootbot removes the pid file. + # infobot removes the pid file. echo "stale pid file; removing." # rm -f $PIDFILE fi cd $BOTDIR -./blootbot +./infobot