script to be executed on system startup.

Ivan Voras ivoras at
Wed Feb 6 14:59:26 UTC 2008

Ivan Voras wrote:

> An advanced feature ...

I'd like to add some more info on the subject: the rc.d script mechanism
is extremely powerful and you can do many things with it, if you need
them. Scripts are passed arguments like "start" and "stop" which you
might want to handle (though "stop" is handled specially and by default,
BSD's don't call "stop" unless specifically asked for; they send
SIGTERM), they can automatically handle PID files so daemons are started
and stopped "gracefully" without any special support from the
applications or the script writer. It's an extraordinarily good subsystem.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list