View | Details | Raw Unified | Return to bug 193255 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-8 / +3 lines)
Lines 22-39 Link Here
22
setup_cmd="local_unbound_setup"
21
setup_cmd="local_unbound_setup"
23
pidfile="/var/run/${name}.pid"
22
pidfile="/var/run/${name}.pid"
24
23
25
: ${local_unbound_workdir:=/var/unbound}
26
: ${local_unbound_config:=${local_unbound_workdir}/unbound.conf}
27
: ${local_unbound_flags:=-c${local_unbound_config}}
28
: ${local_unbound_forwardconf:=${local_unbound_workdir}/forward.conf}
29
: ${local_unbound_anchor:=${local_unbound_workdir}/root.key}
30
: ${local_unbound_forwarders:=}
31
32
load_rc_config $name
24
load_rc_config $name
33
25
26
: ${local_unbound_flags:=-c${local_unbound_config}}
27
34
do_as_unbound()
28
do_as_unbound()
35
{
29
{
36
	echo "$@" | su -m unbound
30
	echo "$@" | /usr/bin/su -m unbound
37
}
31
}
38
32
39
#
33
#

Return to bug 193255