Date: Tue, 18 Jul 2000 20:19:34 +0100 From: Ben Smithurst <ben@FreeBSD.org> To: Sam Carleton <scarleton@miltonstreet.com> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.org> Subject: Re: don't understand the /usr/local/etc/rc.d directory Message-ID: <20000718201934.G4668@strontium.scientia.demon.co.uk> In-Reply-To: <39749B4A.41A24A69@miltonstreet.com> References: <39749B4A.41A24A69@miltonstreet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--py13wRIzy9nU46ee Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sam Carleton wrote: > I have installed MySQL from the FreeBSD distribution and it placed the > startup files in /usr/local/etc/rc.d. MySQL does NOT start > automatically, though. Where is some documentation as to under how to > get things started at bootup, and equally important how to get things > shutdown when rebooting. Funny you should say that. :-) I'm working on an addition to the rc(8) manual page at the moment which should explain the rc.d stuff a bit. The important points are that files in rc.d directories must be executable and must match "*.sh". At startup, it's passed "start" as its argument, at shutdown in -CURRENT it's passed "stop" as its argument. In -STABLE and all releases, the rc.d scripts aren't run at shutdown time. --=20 Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D FreeBSD Documentation Project / --py13wRIzy9nU46ee Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: fh17bVsunpGtcFVLsYIkOn/ot6hj/n4Q iQCUAwUBOXStxisPVtiZOS99AQGT2QP3Tk1JYSIrnDX8vPl3PrmghLfyEztFsyds DgdeyXnjI6O1LvTHfd+sY2w+qQnHM4jqhjXnMQ/ThxiPJK7DMyNm3kDKCkIbewU8 wLxwZLPHhn6xnLDc4nsmPgsS/slweAMWvP3oVtqga2kIdvAQtCLEDtVRRQm2vFyv AQOT8bVpiQ== =y1bX -----END PGP SIGNATURE----- --py13wRIzy9nU46ee-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000718201934.G4668>