mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-23 19:28:36 +00:00
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:
parent
281a6ff273
commit
e196317370
|
@ -34,6 +34,8 @@ load_rc_config $name
|
|||
: ${local_unbound_anchor:=${local_unbound_workdir}/root.key}
|
||||
: ${local_unbound_forwarders:=}
|
||||
: ${local_unbound_tls:=}
|
||||
: ${local_unbound_pidfile:=${pidfile}}
|
||||
pidfile=${local_unbound_pidfile}
|
||||
|
||||
do_as_unbound()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue