10 - System Management
copy just the lines you need to change from
/etc/rc.conf and adjust them as you like.
This makes future
upgrades easier -- all the changes are in the one file that isn't touched during upgrade. In fact, the standard
upgrade process
assumes
you have not modified /etc/rc.conf, and will overwrite it with the new version.
For example, here is the default line pertaining to httpd(8).
httpd_flags=NO # for normal use: "" (or "-DSSL"
after reading ssl(8))
Here you can see that starting up httpd normally requires no flags, so a line like
httpd_flags=""
added to
/etc/rc.conf.local will do the job. But to start httpd with ssl enabled (refer to the
SSL FAQ
or
ssl
(8)
), you would
start with a line like
httpd_flags="-DSSL"
, though you may need to add other
parameters for other reasons.
Do'stlaringiz bilan baham: