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

This commit is contained in:
Dag-Erling Smørgrav 2015-01-25 15:44:46 +00:00
parent 4ac1e0a9fc
commit 4fa545cb14
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=277706

View File

@ -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}
}