]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Patch from Pierre David.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 18 Aug 2008 11:38:37 +0000 (11:38 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 18 Aug 2008 11:38:37 +0000 (11:38 +0000)
git-svn-id: file:///svn/unbound/trunk@1196 be551aaa-1e26-0410-a405-d3ace91eadb9

contrib/rc_d_unbound
doc/Changelog

index 4d837a2d0e4e225b0ab3455502b728922187eed7..56516147f23045ce179d2465969c5e09d1754fd3 100755 (executable)
 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"
index a7ec5ec7bebb6b7a80033768a3525790613a22ca..1fa2062ded4e9cf20ee9b37ef1a9cf28d4da7c09 100644 (file)
@@ -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