Open progval opened 11 years ago
404 error.
What is wrong with cron and supybot-botchk?
Copying here in case that goes down too which seems unlikely (see next comment).
#! /bin/sh
#
# supybot init script
#
#
# Cobbled together from the blootbot init script.
#
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/bin/supybot
NAME=supybot
DESC=supybot
test -f $DAEMON || exit 0
set -e
case "$1" in
start)
echo -n "Starting $DESC: "
start-stop-daemon --start --quiet --pidfile /var/run/supybot/$NAME.pid \
--chuid supybot --exec $DAEMON -- --daemon /etc/supybot/nibler.conf
echo "$NAME."
;;
stop)
echo -n "Stopping $DESC: "
start-stop-daemon --stop --quiet --pidfile /var/run/supybot/$NAME.pid \
--oknodo --exec /usr/bin/python
echo "$NAME."
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}" >&2
exit 1
;;
esac
exit 0
Releated to previous comment: http://jmtd.net/log/archive.org_not_backup/
It may be useful to have this template: http://www.schwer.us/journal/2005/04/17/supybot-init-script-for-debian/