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 <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? >
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 _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"