From owner-freebsd-questions@FreeBSD.ORG Wed Feb 6 14:59:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2CE6816A419 for ; Wed, 6 Feb 2008 14:59:26 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id BD49F13C4D1 for ; Wed, 6 Feb 2008 14:59:25 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JMlk7-0000Ug-BG for freebsd-questions@freebsd.org; Wed, 06 Feb 2008 14:59:19 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Feb 2008 14:59:19 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 06 Feb 2008 14:59:19 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Wed, 06 Feb 2008 16:00:27 +0100 Lines: 35 Message-ID: References: <1563a4fd0802060609j59451879h3920be790d7667c0@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig856E8668E7AC9C24B720E55D" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.6 (X11/20071022) In-Reply-To: X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: script to be executed on system startup. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Feb 2008 14:59:26 -0000 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--