Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2015 15:44:47 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r277706 - head/etc/rc.d
Message-ID:  <201501251544.t0PFil1r034871@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Sun Jan 25 15:44:46 2015
New Revision: 277706
URL: https://svnweb.freebsd.org/changeset/base/277706

Log:
  Allow the user to specify the location of control.conf.

Modified:
  head/etc/rc.d/local_unbound

Modified: head/etc/rc.d/local_unbound
==============================================================================
--- head/etc/rc.d/local_unbound	Sun Jan 25 15:09:52 2015	(r277705)
+++ head/etc/rc.d/local_unbound	Sun Jan 25 15:44:46 2015	(r277706)
@@ -26,6 +26,7 @@ pidfile="/var/run/${name}.pid"
 : ${local_unbound_config:=${local_unbound_workdir}/unbound.conf}
 : ${local_unbound_flags:=-c${local_unbound_config}}
 : ${local_unbound_forwardconf:=${local_unbound_workdir}/forward.conf}
+: ${local_unbound_controlconf:=${local_unbound_workdir}/control.conf}
 : ${local_unbound_anchor:=${local_unbound_workdir}/root.key}
 : ${local_unbound_forwarders:=}
 
@@ -66,6 +67,7 @@ local_unbound_setup()
 	    -w ${local_unbound_workdir} \
 	    -c ${local_unbound_config} \
 	    -f ${local_unbound_forwardconf} \
+	    -o ${local_unbound_controlconf} \
 	    -a ${local_unbound_anchor} \
 	    ${local_unbound_forwarders}
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501251544.t0PFil1r034871>