ncohafmuta-1.4.2/bot/
ncohafmuta-1.4.2/helpfiles/
ncohafmuta-1.4.2/lib/emailver/
ncohafmuta-1.4.2/tzinfo/Atlantic/
ncohafmuta-1.4.2/tzinfo/Brazil/
ncohafmuta-1.4.2/tzinfo/Chile/
ncohafmuta-1.4.2/tzinfo/Indian/
ncohafmuta-1.4.2/tzinfo/Mexico/
ncohafmuta-1.4.2/tzinfo/Mideast/
ncohafmuta-1.4.2/tzinfo/SystemV/
ncohafmuta-1.4.2/utils/
ncohafmuta-1.4.2/utils/code_fragments/new_config/
#!/bin/sh
# by Cygnus
# ncohafmuta@asteroid-b612.org
#
SIG=$1
BINARY="storybot"

if test -f "./$BINARY.pid"
then
echo "Shutting down storybot.."

if test "$SIG" = ""
then
	kill -TERM `cat $BINARY.pid`
else
	kill -$SIG `cat $BINARY.pid`
fi
echo "storybot is off."
else
	echo "Cant find $BINARY.pid file! Is storybot really running to begin with?"
fi