From owner-freebsd-questions@FreeBSD.ORG Tue Dec 30 02:51:17 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEE9216A4CE for ; Tue, 30 Dec 2003 02:51:17 -0800 (PST) Received: from dyer.circlesquared.com (host217-45-219-83.in-addr.btopenworld.com [217.45.219.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C9F643D31 for ; Tue, 30 Dec 2003 02:51:11 -0800 (PST) (envelope-from peter@circlesquared.com) Received: from circlesquared.com (localhost.petanna.net [127.0.0.1]) hBUArKSH055348; Tue, 30 Dec 2003 10:53:32 GMT (envelope-from peter@circlesquared.com) Message-ID: <3FF15920.4070201@circlesquared.com> Date: Tue, 30 Dec 2003 10:53:20 +0000 From: Peter Risdon User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5b) Gecko/20031102 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20031230034953.36866d74@it.buh.cameradicommercio.ro> <200312300225.hBU2PQsi030000@smtp.doruk.net.tr> <20031230043149.73c3dddd@it.buh.cameradicommercio.ro> In-Reply-To: <20031230043149.73c3dddd@it.buh.cameradicommercio.ro> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Ion-Mihai Tetcu Subject: Re: djbdns X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2003 10:51:17 -0000 Ion-Mihai Tetcu wrote: >Take a look at /usr/local/etc/rc.d/svscan.sh.sample > >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. > > I'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. >2. ># cp /usr/local/etc/rc.d/svscan.sh.sample /usr/local/etc/rc.d/svscan.sh ># /usr/local/etc/rc.d/svscan.sh start ># svstatus /var/services/dnscache ># svstatus /var/services/dnscache/log ># dnsip www.freebsd.org > > Shouldn't it be: # svstat /var/service/dnscache etc? PWR