From owner-freebsd-questions@FreeBSD.ORG Thu Sep 2 22:44:14 2004 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 D348C16A4CE for ; Thu, 2 Sep 2004 22:44:14 +0000 (GMT) Received: from internet.potentialtech.com (h-66-167-251-6.phlapafg.covad.net [66.167.251.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id A150643D49 for ; Thu, 2 Sep 2004 22:44:14 +0000 (GMT) (envelope-from wmoran@potentialtech.com) Received: from working.potentialtech.com (pa-plum-cmts1e-68-68-113-64.pittpa.adelphia.net [68.68.113.64]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by internet.potentialtech.com (Postfix) with ESMTP id D182B69A71; Thu, 2 Sep 2004 18:44:13 -0400 (EDT) Date: Thu, 2 Sep 2004 18:44:12 -0400 From: Bill Moran To: Scott Gerhardt Message-Id: <20040902184412.14c15c37.wmoran@potentialtech.com> In-Reply-To: <0EE97899-FD2A-11D8-9A33-000393801C60@g-it.ca> References: <0EE97899-FD2A-11D8-9A33-000393801C60@g-it.ca> Organization: Potential Technologies X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.ORG Subject: Re: Startup Scripts 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: Thu, 02 Sep 2004 22:44:14 -0000 Scott Gerhardt wrote: > I am noticing that startup scripts in /usr/local/etc/rc.d are now being > initiated from /etc/rc.conf with the enable="YES" invocation. See > example from /usr/loccal/etc/rc.d/clamav-clamd.sh below, which I just > installed from ports. > > Besides using the kill/killall methods, what is the preferred STOP | > RESTART etc methods now? What is the purpose of "KEYWORD: FreeBSD > shutdown" Documentation is still spotty, as this is a new feature, but this does exist: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-rcng.html > > #!/bin/sh > # > # $FreeBSD: ports/security/clamav/files/clamav-clamd.sh,v 1.3 > 2004/04/19 15:21:33 eik Exp $ > # > > # PROVIDE: clamd > # REQUIRE: LOGIN > # BEFORE: mail > # KEYWORD: FreeBSD shutdown > > # > # Add the following lines to /etc/rc.conf to enable clamd: > # > #clamav_clamd_enable="YES" > # > # See clamd(8) for flags > # > > > Thanks, > > -- > Scott A. Gerhardt, P.Geo. > Gerhardt Information Technologies > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Bill Moran Potential Technologies http://www.potentialtech.com