Date: Thu, 2 Sep 2004 15:50:08 -0600 From: Scott Gerhardt <scott@g-it.ca> To: FreeBSD <freebsd-questions@FreeBSD.ORG> Subject: Startup Scripts Message-ID: <0EE97899-FD2A-11D8-9A33-000393801C60@g-it.ca>
next in thread | raw e-mail | index | archive | help
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" #!/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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0EE97899-FD2A-11D8-9A33-000393801C60>