svn commit: r470572 - head/dns/unbound/files

Bernard Spil brnrd at FreeBSD.org
Mon May 21 19:28:29 UTC 2018


Author: brnrd
Date: Mon May 21 19:28:28 2018
New Revision: 470572
URL: https://svnweb.freebsd.org/changeset/ports/470572

Log:
  dns/unbound: Fix errors when unbound_conf is set
  
  PR:		228390
  Approved by:	maintainer <jaap NLnetLabs nl>
  
  MFH:		2018Q2

Modified:
  head/dns/unbound/files/unbound.in

Modified: head/dns/unbound/files/unbound.in
==============================================================================
--- head/dns/unbound/files/unbound.in	Mon May 21 19:02:23 2018	(r470571)
+++ head/dns/unbound/files/unbound.in	Mon May 21 19:28:28 2018	(r470572)
@@ -23,7 +23,6 @@ rcvar=unbound_enable
 command="%%PREFIX%%/sbin/unbound"
 extra_commands="reload"
 start_precmd="start_precmd"
-reload_precmd="%%PREFIX%%/sbin/unbound-checkconf ${unbound_conf} >/dev/null"
 
 load_rc_config $name
 
@@ -32,6 +31,8 @@ unbound_enable=${unbound_enable:-"NO"}
 unbound_anchorflags=${unbound_anchorflags:-""}
 unbound_conf=${unbound_conf:-"%%ETCDIR%%/unbound.conf"}
 unbound_flags=${unbound_flags:-" -c ${unbound_conf}"}
+
+reload_precmd="%%PREFIX%%/sbin/unbound-checkconf ${unbound_conf} >/dev/null"
 
 start_precmd()
 {


More information about the svn-ports-all mailing list