Take a look at /usr/local/etc/rc.d/svscan.sh.sampleI'm not disagreeing, but the original post complained of something being wrong in some documentation. Most reference and tutorial pages for djbdns and other djb stuff like qmail assume a /service directory, rather than /var/service. Using /var/service does seem more logical, but can be a source of confusion, especially if people are copying and pasting commands from online instructions, something the various references often suggest.
1. SVDIR=/var/service/ - so svscan will look at /var/service and not
/service; either do:
a) what is suggested and use /var/services (e.g. ln -s /etc/dnscache
/var/service) or b) change SVDIR=/var/service/ to SVDIR=/service/
I would use a); also note that creating the log file in /etc/dnscache is
IMHO a bad idea.
2. # cp /usr/local/etc/rc.d/svscan.sh.sample /usr/local/etc/rc.d/svscan.shShouldn't it be:
# /usr/local/etc/rc.d/svscan.sh start
# svstatus /var/services/dnscache
# svstatus /var/services/dnscache/log
# dnsip www.freebsd.org
# svstat /var/service/dnscache
etc?
PWR
_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"