Date: Wed, 06 Feb 2008 16:00:27 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-questions@freebsd.org Subject: Re: script to be executed on system startup. Message-ID: <foci01$i1o$1@ger.gmane.org> In-Reply-To: <fochm5$gre$1@ger.gmane.org> References: <1563a4fd0802060609j59451879h3920be790d7667c0@mail.gmail.com> <fochm5$gre$1@ger.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig856E8668E7AC9C24B720E55D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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= =2E --------------enig856E8668E7AC9C24B720E55D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHqcuLldnAQVacBcgRAiI/AKD3kd1oQviaP6WQPxspp0A9OlvFlQCdEEeY qkmpG77/PtpiKRXIKpYf618= =TlvC -----END PGP SIGNATURE----- --------------enig856E8668E7AC9C24B720E55D--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?foci01$i1o$1>