Date: Thu, 2 Sep 2004 18:44:12 -0400 From: Bill Moran <wmoran@potentialtech.com> To: Scott Gerhardt <scott@g-it.ca> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Startup Scripts 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Scott Gerhardt <scott@g-it.ca> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040902184412.14c15c37.wmoran>