New apache2 rc.conf start syntax check

Stacey Roberts stacey at vickiandstacey.com
Sat Jun 5 13:16:57 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 466 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040605/40629885/attachment.bin


More information about the freebsd-questions mailing list