From 38396319c7dc6307bcad5b19096be3295f08b9ab Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 18 Aug 2008 11:38:37 +0000 Subject: [PATCH] Patch from Pierre David. git-svn-id: file:///svn/unbound/trunk@1196 be551aaa-1e26-0410-a405-d3ace91eadb9 --- contrib/rc_d_unbound | 6 ++++-- doc/Changelog | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/rc_d_unbound b/contrib/rc_d_unbound index 4d837a2d0..56516147f 100755 --- a/contrib/rc_d_unbound +++ b/contrib/rc_d_unbound @@ -15,9 +15,11 @@ name="unbound" rcvar=`set_rcvar` +load_rc_config $name + command="/usr/local/sbin/unbound" -pidfile="/usr/local/etc/unbound/unbound.pid" +pidfile=${unbound_pidfile:-"/usr/local/etc/unbound/unbound.pid"} +command_args=${unbound_flags:-"-c /usr/local/etc/unbound/unbound.conf"} extra_commands="reload" -load_rc_config $name run_rc_command "$1" diff --git a/doc/Changelog b/doc/Changelog index a7ec5ec7b..1fa2062de 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -2,6 +2,7 @@ - changes info: in logfile to notice: info: or debug: depending on the verbosity of the statements. Better logfile message classification. + - bug #208: extra rc.d unbound flexibility for freebsd/nanobsd. 15 August 2008: Wouter - DLV nsec code fixed for better detection of closest existing