On Tue, May 20, 2008 at 11:09:04PM +0200, Petter Reinholdtsen wrote:
> [Petter Reinholdtsen]
> > Hi.  The blootbot package is one of only 11 packages left in
> > unstable without dependency information in its init.d scripts.  Can
> > you please upload a fixed version soon?
> 
> Now there is 7 packages left to fix in unstable, and blootbot is one
> of them.  Should I NMU, or do you want to release from some version
> control system?
> 

Feel free to upload, correct init.d file attached :)

Neil
-- 
* Maulkin cries
<Maulkin> NB: rm -rf /chroots/sarge while /home is mounted at
        /chroots/sarge/home is NOT-A-GOOD-THING(tm)
#! /bin/sh
#
# blootbot init script
#
#		Written by Miquel van Smoorenburg <[EMAIL PROTECTED]>.
#		Modified for Debian GNU/Linux
#		by Ian Murdock <[EMAIL PROTECTED]>.
#       Modified for blootbot
#       by Andrew Suffield <[EMAIL PROTECTED]>.
#		   Neil McGovern <[EMAIL PROTECTED]>
#		
### BEGIN INIT INFO
# Provides:          blootbot
# Required-Start:    $remote_fs $syslog $network $time
# Required-Stop:     $remote_fs $syslog $network $time
# Should-Start:      mysql mysql-ndb mysql-ndb-mgm postgresql
# Should-Stop:       mysql mysql-ndb mysql-ndb-mgm postgresql
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start blootbot at boot time
# Description:       Enable blootbot server to connect to IRC at boot time
### END INIT INFO

. /lib/lsb/init-functions

PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/blootbot
NAME=blootbot
DESC=blootbot

test -f $DAEMON || exit 0

set -e

case "$1" in
  start)
	log_begin_msg "Starting $DESC: "
	start-stop-daemon --start --quiet --pidfile /var/run/blootbot/$NAME.pid \
		--background --chuid blootbot --exec $DAEMON
	log_end_msg $?
	;;
  stop)
	log_begin_msg "Stopping $DESC: "
	start-stop-daemon --stop --quiet --pidfile /var/run/blootbot/$NAME.pid \
		--oknodo --exec /usr/bin/perl
	log_end_msg $?
	;;
  reload|force-reload)
	#
	#	If the daemon can reload its config files on the fly
	#	for example by sending it SIGHUP, do it here.
	#
	#	If the daemon responds to changes in its config file
	#	directly anyway, make this a do-nothing entry.
	#
	log_begin_msg "Reloading $DESC configuration files."
	start-stop-daemon --stop --signal 1 --quiet --pidfile /var/run/blootbot/$NAME.pid \
		--oknodo --exec /usr/bin/perl
		log_end_msg $?
	;;
  restart)
	#
	#	If the "reload" option is implemented, move the "force-reload"
	#	option to the "reload" entry above. If not, "force-reload" is
	#	just the same as "restart".
	#
	log_begin_msg"Restarting $DESC: "
	$0 stop
	sleep 1
	$0 start
	;;
  *)
	N=/etc/init.d/$NAME
	echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
	exit 1
	;;
esac

exit 0

Attachment: signature.asc
Description: Digital signature

Reply via email to