X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fbotchk.sh;fp=scripts%2Fbotchk.sh;h=a93429a1a26988b52f429c21d51491c403011a8f;hb=ccc02c22796957aa2f2951c1146d58645261ad0f;hp=7ed1b0d9e8ddf8e4caa3e4c0c130131adf43e730;hpb=096e9be93be7012b5e81ccd1ec8f779e0b680922;p=infobot.git diff --git a/scripts/botchk.sh b/scripts/botchk.sh index 7ed1b0d..a93429a 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,12 @@ 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 + +# vim:ts=4:sw=4:expandtab:tw=80