local_unbound: rc: allow to overwrite pid file path
Certain configurations need to use a different path for pidfile. Allow rc.conf to overwrite it. Reviewed by: cy, 0mp MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D36141
This commit is contained in:
@@ -34,6 +34,8 @@ load_rc_config $name
|
|||||||
: ${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}}
|
||||||
|
pidfile=${local_unbound_pidfile}
|
||||||
|
|
||||||
do_as_unbound()
|
do_as_unbound()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user