Changeset View
Changeset View
Standalone View
Standalone View
libexec/rc/rc.d/local_unbound
| Show All 29 Lines | |||||
| : ${local_unbound_flags:="-c ${local_unbound_config}"} | : ${local_unbound_flags:="-c ${local_unbound_config}"} | ||||
| : ${local_unbound_forwardconf:=${local_unbound_workdir}/forward.conf} | : ${local_unbound_forwardconf:=${local_unbound_workdir}/forward.conf} | ||||
| : ${local_unbound_controlconf:=${local_unbound_workdir}/control.conf} | : ${local_unbound_controlconf:=${local_unbound_workdir}/control.conf} | ||||
| : ${local_unbound_anchor:=${local_unbound_workdir}/root.key} | : ${local_unbound_anchor:=${local_unbound_workdir}/root.key} | ||||
| : ${local_unbound_forwarders:=} | : ${local_unbound_forwarders:=} | ||||
| : ${local_unbound_tls:=} | : ${local_unbound_tls:=} | ||||
| : ${local_unbound_pidfile:=${pidfile}} | : ${local_unbound_pidfile:=${pidfile}} | ||||
| pidfile=${local_unbound_pidfile} | pidfile=${local_unbound_pidfile} | ||||
| : ${local_unbound_svcj_options:="net_basic"} | |||||
| do_as_unbound() | do_as_unbound() | ||||
| { | { | ||||
| echo "$@" | su -m unbound | echo "$@" | su -m unbound | ||||
| } | } | ||||
| # | # | ||||
| # Retrieve or update the DNSSEC root anchor | # Retrieve or update the DNSSEC root anchor | ||||
| ▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines | |||||