From owner-freebsd-questions@FreeBSD.ORG Thu Aug 31 02:11:23 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 6EF0C16A4DE for ; Thu, 31 Aug 2006 02:11:23 +0000 (UTC) (envelope-from jaj13@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id E815C43D46 for ; Thu, 31 Aug 2006 02:11:22 +0000 (GMT) (envelope-from jaj13@web.de) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id CCCD81993E7E; Thu, 31 Aug 2006 04:09:32 +0200 (CEST) Received: from [83.99.31.181] (helo=[10.0.0.11]) by smtp06.web.de with esmtp (WEB.DE 4.107 #114) id 1GIbzo-00043B-00; Thu, 31 Aug 2006 04:09:32 +0200 Message-ID: <44F644DC.8030007@web.de> Date: Thu, 31 Aug 2006 04:09:32 +0200 From: Jona Joachim User-Agent: Thunderbird 1.5.0.5 (X11/20060730) MIME-Version: 1.0 To: Jonathan Horne References: <200608302047.06425.freebsd@dfwlp.com> In-Reply-To: <200608302047.06425.freebsd@dfwlp.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: jaj13@web.de X-Sender: jaj13@web.de Cc: freebsd-questions@freebsd.org 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:11:23 -0000 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. Take a look at /usr/local/etc/rc.d You will see several scripts belonging to server applications you installed. Each one of these scripts can start or stop the service. For example: /usr/local/etc/rc.d/apache.sh start /usr/local/etc/rc.d/apache.sh stop When you put something into rc.conf it is actually this script that is executed, so every daemon that can be enabled in rc.conf can also be started/stopped using those scripts. Daemons coming with the base system have there scripts in the /etc/rc.d directory.