From owner-freebsd-questions Thu Mar 30 17:16:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id F255F37B88B for ; Thu, 30 Mar 2000 17:16:52 -0800 (PST) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e2V1fV003934; Thu, 30 Mar 2000 17:41:31 -0800 (PST) Date: Thu, 30 Mar 2000 17:41:31 -0800 From: Alfred Perlstein To: "[ -dp- ]" Cc: questions@FreeBSD.ORG Subject: Re: REAL stupid question Message-ID: <20000330174130.B21029@fw.wintelcom.net> References: <38E3F401.4D1DF4@sympatico.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <38E3F401.4D1DF4@sympatico.ca>; from transmogrify@sympatico.ca on Thu, Mar 30, 2000 at 07:40:33PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * [ -dp- ] [000330 17:07] wrote: > James wrote: > > > > I would like to know where to put a command that will start, say.....Apache > > on boot. I am not sure which rc files I can muck with ( to used to sys V > > arch I guess, sorry ). Any and all help is much appreciated! Thanks! > > > > In Apaches case, depending on the release it will take care of the > startup itself upon installation. > As for anything else rc, rc.conf, rc.local, or even better your own > startup script referenced from one > of these files to take care of the tasks. NEVER EVER EVER put a startup command in rc.conf or rc! rc.conf gets read into multiple startup scripts at boot time and at certain intervals by periodic scripts and breaking /etc/rc is really good way to hose your machine if you don't know what you're doing. use /etc/rc.local or /usr/local/etc/rc.d/(myscript).sh to start things up. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message