From owner-freebsd-questions@FreeBSD.ORG Thu Aug 31 02:50:34 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16FCA16A4DD for ; Thu, 31 Aug 2006 02:50:34 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 917AE43D46 for ; Thu, 31 Aug 2006 02:50:33 +0000 (GMT) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 30 Aug 2006 22:50:32 -0400 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id MEH78172; Wed, 30 Aug 2006 22:50:31 -0400 (EDT) Received: from 209-6-203-219.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.203.219]) by smtp01.lnh.mail.rcn.net with ESMTP; 30 Aug 2006 22:50:29 -0400 X-IronPort-AV: i="4.08,191,1154923200"; d="scan'208"; a="267916039:sNHT33718384" From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17654.20089.979688.377694@jerusalem.litteratus.org> Date: Wed, 30 Aug 2006 22:50:33 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <20060831021709.GK20373@zloy.stilyagin.com> References: <200608302047.06425.freebsd@dfwlp.com> <20060831021709.GK20373@zloy.stilyagin.com> X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" XEmacs Lucid X-Junkmail-Status: score=10/50, host=mr02.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090203.44F64D2F.0054,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.113/2006-07-26 Subject: Re: not adding daemons to rc.conf 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: Thu, 31 Aug 2006 02:50:34 -0000 Darrin Chandler writes: > On Wed, Aug 30, 2006 at 08:47:06PM -0500, Jonathan Horne wrote: > > ive noticed that apache can be started manually using the > > apachectl tool, even if it is not enabled in /etc/rc.conf. do > > many other daemons have this ability? i have a dev server > > that i would like to not have many things enabled in the > > rc.conf, but i would like an easy way to just start specific > > daemons when i need. > > Why, yes. There's nothing "magical" about the rc mechanisms, and > you are free to start daemons on your own. Be warned that there > may be side effects with some daemons, being that they are not > started the same way regarding login class or whatnot. But > normally this won't be a problem. The cool thing about using a properly designed script is it will be aware of all the things which need to be started first and try to start them is they aren't already running. For a hard-core development server maybe this doesn't matter ... but the closer one gets to a production environment, the more useful it tends to become. Robert Huff