From owner-freebsd-questions@FreeBSD.ORG Mon May 17 10:21:07 2004 Return-Path: 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 BE0FA16A4CE for ; Mon, 17 May 2004 10:21:07 -0700 (PDT) Received: from mta8.adelphia.net (mta8.adelphia.net [68.168.78.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id D845D43D45 for ; Mon, 17 May 2004 10:21:06 -0700 (PDT) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.71]) by mta13.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040517171626.PJJ13425.mta13.adelphia.net@barbish>; Mon, 17 May 2004 13:16:26 -0400 From: "JJB" To: , Date: Mon, 17 May 2004 13:16:25 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <200405170951.25763.fcash-ml@sd73.bc.ca> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: RE: Manually starting RCng scripts disabled in rc.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 May 2004 17:21:07 -0000 There are no knobs in rc.conf for the applications you mentioned. Rc.conf does not have internal check to verify you have correct statements. So having apache_enable="YES" in rc.conf does nothing and issues no error message telling you it is invalid. All ports are started from /usr/local/etc/rc.d/ -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Freddie Cash Sent: Monday, May 17, 2004 12:51 PM To: questions@freebsd.org Subject: Manually starting RCng scripts disabled in rc.conf Is it possible to manually run an rcNG-style script with app_enable=NO in /etc/rc.conf? For instance, there are a few services that I don't want running all the time on my laptop (like Apache, Squid, DansGuardian) but that I need running now and then for development / testing purposes. As such, I have apache_enable="NO" in my rc.conf to prevent Apache from starting at boot time. However, this also means that I cannot manually start Apache when I need it running, unless I use apachectl or run the httpd binary directly. And I can't use the RCng script to check the status, or restart, or any of the other nice things that RCng gives me. It would be much simpler/nicer if I could use the rcNG script to do this. Am I missing something simple, or is it just not possible to do what I want? I'd like to use the rc.d scripts to control everything, but if I have to enable them all in rc.conf and then manually stop them after each boot, I'll most likely end up writing my own non-RCng wrapper scripts for each app. :( Please CC: me as I'm not subscribed to questions@. -- Freddie Cash fcash-ml@sd73.bc.ca _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"