/usr/bin/gozerbot-stop is in gozerbot 0.99.1-5.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/sh
if [ $1 ]
then
DATADIR=$1
else
DATADIR="$HOME/.gozerbot"
fi
if [ -e $DATADIR ]
then
cd $DATADIR
else
echo "no $DATADIR directory found"
exit 1
fi
if [ -e gozerbot.pid ]
then kill -s TERM `cat gozerbot.pid`
else echo "no pid file in $DATADIR directory"
fi
|