New apache2 rc.conf start syntax check

Stacey Roberts stacey at vickiandstacey.com
Sat Jun 5 17:29:59 PDT 2004


Hi,

----- Original Message -----
From: "JJB <Barbish3 at adelphia.net>"
To: To Stacey Roberts
Date: Sat, 05 Jun, 2004 22:26 BST
Subject: RE: New apache2 rc.conf start syntax check

> Send an email to the apache2 port maintainer and tell him his
> pkg-message is very unclear and should just come right out and say
> ="YES" instead of (bool).  The pkg-message for apache13  says it the
> correct way so there is no misunderstanding.

Thanks for this.., I'll act on this information accordingly.

Regards,

Stacey

> 
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Stacey
> Roberts
> Sent: Saturday, June 05, 2004 4:17 PM
> To: freebsd-questions at FreeBSD.ORG
> Subject: New apache2 rc.conf start syntax check
> 
> 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 <IfDefined SSL> 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?
> 
> Thanks for the time.
> 
> Regards,
> 
> Stacey
> 

-- 
Stacey Roberts
B. Sc (HONS) Computer Science

Web: www.vickiandstacey.com


More information about the freebsd-questions mailing list