On 2014/06/12 21:58, Martin, Matthew wrote:
> Since /var/nsd/etc/nsd.conf is the default path for nsd's config file,
> I see no reason to break from the convention, for normal use: "". Same
> for unbound.
>
> -Matthew Martin
>
> Index: rc.conf
> ===
> RCS file: /cvs/src/etc/rc.conf,v
> retrieving revision 1.189
> diff -u -p -r1.189 rc.conf
> --- rc.conf 24 Apr 2014 15:05:10 - 1.189
> +++ rc.conf 12 Jun 2014 21:49:29 -
> @@ -26,8 +26,8 @@ bootparamd_flags=NO # for normal use: ""
> rbootd_flags=NO# for normal use: ""
> sshd_flags="" # for normal use: ""
> named_flags=NO # for normal use: ""
> -nsd_flags=NO # for normal use: "-c /var/nsd/etc/nsd.conf"
> -unbound_flags=NO # for normal use: "-c /var/unbound/etc/unbound.conf"
> +nsd_flags=NO # for normal use: ""
> +unbound_flags=NO # for normal use: ""
> ldattach_flags=NO # for normal use: "[options] linedisc cua-device"
> ntpd_flags=NO # for normal use: ""
> isakmpd_flags=NO # for normal use: ""
>
If you want to do this, you need to also unset it from daemon_flags in
the rc.d scripts, check that all rc.d operations (reload/restart)
work correctly, and that this all still works when the daemons have
been stopped/started from their own control programs (nsd-control
and unbound-control).