/usr/bin/gozerbot-start 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 19 20 21 22 23 | #!/bin/sh
if [ $1 ]
then
DATADIR=$1
else
DATADIR="$HOME/.gozerbot"
fi
if [ -e $DATADIR ]
then
cd $DATADIR
else
mkdir -p $DATADIR
cd $DATADIR
fi
if [ -e gozerdata/mainconfig ]
then
gozerbot >> gozerbot.log 2>&1 &
else
gozerbot-init
echo "A default config file $DATADIR/gozerdata/mainconfig has been created."
echo "irc and jabber bot example files are installed in $DATADIR/gozerdata/fleet."
echo "Please edit those files and then run this script again to start gozerbot."
fi
|