I am curious if you manually removed the daemontools inittab entry in
your configuration, in preference of using the init.d script. I ask
this because, if daemontools is handling svscan, should the init.d
script gracefully fail? ie:
if grep svscanboot /etc/inittab; then
echo "Daemontools is currently handling services from inittab.."
exit 1
else
if [ -d /service ]; then
SVCDIR=/service
elif [ -d /var/lib/svscan ]; then
SVCDIR=/var/lib/svscan
else
echo "Couldn't find your service dir.."
exit 1
fi
case "$1" in
start)
echo -n "Starting djbdns: "
for i in `ls -d $SVCDIR/dnscache* <...>`; do
<...>
esac
fi
Would this work out ok in the init.d script, or should this be done
differently?
An added note, since the init.d script needs a little tlc - the usage
note has a typo, as well (s/dnscache/djbdns/):
*)
echo 'Usage: /etc/init.d/dnscache {start|stop|restart}'
exit 1
Kind Regards,
Michael Shuler
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]