From owner-freebsd-questions@FreeBSD.ORG Sat Jun 5 13:33:56 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 EC9B916A4CE for ; Sat, 5 Jun 2004 13:33:56 -0700 (PDT) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 980E043D31 for ; Sat, 5 Jun 2004 13:33:56 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i55KX5bI004914; Sat, 5 Jun 2004 13:33:07 -0700 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Sat, 5 Jun 2004 13:33:49 -0700 User-Agent: KMail/1.6.2 References: <20040605201641.GF392@crom.vickiandstacey.com> In-Reply-To: <20040605201641.GF392@crom.vickiandstacey.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200406051333.50004.kstewart@owt.com> cc: Stacey Roberts Subject: Re: New apache2 rc.conf start syntax check X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 20:33:57 -0000 On Saturday 05 June 2004 01:16 pm, Stacey Roberts wrote: > Hello, > Sorry if this is a straight-forward case, but I just wanted to > double-check the syntax for the new apache2 start syntax that's to be > added to /etc/rc.conf. > > The pkg-message reads: > > # Add the following lines to /etc/rc.conf to enable apache2: > # apache2_enable (bool): Set to "NO" by default. > # Set it to "YES" to enable apache2 > # apache2ssl_enable (bool): Set to "NO" by default. > # Set it to "YES" to start apache with > SSL # (if exists in > httpd.conf) # apache2limits_enable (bool):Set to "NO" by default. > # Set it to yes to run `limits > $limits_args` # just before apache > starts. > # apache2_flags (str): Set to "" by default. > # Extra flags passed to start command > > Now following from what's normally used for /etc/rc.conf, its > reasonable to me that the syntax should be along the lines of: > > apache2_enable="YES" > > But reading the apache2 pkg-message, there's no mention of the use of > the "=" for the apache2_enable statement. Is the "=" required or not? > If it is, then shouldn't the examples in pkg-message include a > reference to using the "=" before the bool selection? > If you do a "man rc.conf", you will see that for (bool), you have to set '=YES"' or '="NO"'. Since you have to stop apache and restart it, you could have done a "shutdown now" and watch it come up the new way. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html