From owner-freebsd-questions Thu Feb 1 14:26:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bcfw1d.bridge.com (bcfw1d.ext.bridge.com [167.76.159.31]) by hub.freebsd.org (Postfix) with ESMTP id BD6EB37B65D for ; Thu, 1 Feb 2001 14:26:11 -0800 (PST) Received: (from uucp@localhost) by bcfw1d.bridge.com (8.10.2/8.10.2) id f11MRCQ06125; Thu, 1 Feb 2001 16:27:12 -0600 (CST) Received: from unknown(167.76.56.34) by bcfw1d.bridge.com via smap (V5.5) id xma006098; Thu, 1 Feb 01 16:27:02 -0600 Received: from mnmailhost (mnmailhost.bridge.com [167.76.155.14]) by mail1srv.bridge.com (8.8.8/8.7.3) with SMTP id QAA21351; Thu, 1 Feb 2001 16:25:59 -0600 (CST) Received: from 89-7 by mnmailhost (SMI-8.6/SMI-4.1) id RAA08682; Thu, 1 Feb 2001 17:25:56 -0500 To: questions@FreeBSD.ORG Subject: Re: Starting Services... References: <3A79DEF5.669C8D7A@home.com> From: Tim Ayers Date: 01 Feb 2001 16:25:56 -0600 In-Reply-To: Jeff Dugan's message of "Thu, 01 Feb 2001 17:11:01 -0500" Message-ID: <3ddy6nwr.fsf@tim.bridge.com> Lines: 21 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "J" == Jeff Dugan writes: J> As a Newbie to FreeBSD4.0, I am curious on how to get automatically J> start services during boot. J> eg: J> Starting Apache during boot-time.. J> Thanks ! man rc In summary you add scripts to /usr/local/etc/rc.d/ that accept at least the arguments 'start' and 'stop'. BTW, most ports where it makes sense to start a daemon (e.g. apache, mod_perl, setiathome) will put a script in /usr/local/etc/rc.d/ for you. HTH and Hope you have a very nice day, :-) Tim Ayers (tayers@bridge.com) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message