Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2018 19:28:28 +0000 (UTC)
From:      Bernard Spil <brnrd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r470572 - head/dns/unbound/files
Message-ID:  <201805211928.w4LJSS51056605@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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()
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805211928.w4LJSS51056605>