X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fbotchk.sh;h=a93429a1a26988b52f429c21d51491c403011a8f;hb=45e51047c2df703229843193e49fb9829489170f;hp=b8a1588f6066b5973d9f2def6a83aa42217fe0b0;hpb=bb482ed34735d13cad2a02cf0f5cdc322b6b9f89;p=infobot.git diff --git a/scripts/botchk.sh b/scripts/botchk.sh index b8a1588..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 - # ./infobot removes the pid file. + # infobot removes the pid file. echo "stale pid file; removing." # rm -f $PIDFILE fi cd $BOTDIR ./infobot + +# vim:ts=4:sw=4:expandtab:tw=80