From: Wouter Wijngaards Date: Mon, 18 Aug 2008 11:38:37 +0000 (+0000) Subject: Patch from Pierre David. X-Git-Tag: release-1.1.0~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38396319c7dc6307bcad5b19096be3295f08b9ab;p=thirdparty%2Funbound.git Patch from Pierre David. git-svn-id: file:///svn/unbound/trunk@1196 be551aaa-1e26-0410-a405-d3ace91eadb9 --- 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