Startup Scripts
Bill Moran
wmoran at potentialtech.com
Thu Sep 2 15:44:14 PDT 2004
Scott Gerhardt <scott at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
More information about the freebsd-questions
mailing list