On 08/25/12 21:08, Robert wrote:
On Sat, 25 Aug 2012 18:55:00 +0200
Mikkel Bang <facebookman...@gmail.com> wrote:
Hello!
Is there a way to make my rc.conf.local more sensible and consistent, i.e. not
pf=YES
sshd=""
named_flags=""
but rather
pf=YES
sshd=YES
named=YES?
You may still want to be able to pass special parameters to those.
Thanks!
Mikkel
pf doesn't have options for start up, but sshd and named have. The
current syntax is perfectly fine.
(For sake of the argument: pfctl has options, maybe they should be a
rc.conf option for it?)
pfctl is not a daemon per se, as opposed to e.g. smtpd or httpd.
As far as enabling pf and loading the ruleset, only a subset of the
pfctl flags are of interest.
Therefore, there is $pf_rules, which is passed with -f to pfctl. Not
sure what other options would be of use.
There are a few other special cases, such as $spamd_black, which could
just as well have been configured in $spamd_flags, if it wasn't also
used to determine whether we should also start spamlogd or not.
kind regards,
Robert