From 9a12e6585c2bf870a6d037d10991935cfbb6e0cc Mon Sep 17 00:00:00 2001 From: sem Date: Sun, 9 Sep 2012 01:08:36 +0000 Subject: - Run unbound-checkconf on startup Submitted by: Anton Yuzhaninov --- dns/unbound/Makefile | 1 + dns/unbound/files/unbound.in | 3 +++ 2 files changed, 4 insertions(+) (limited to 'dns') diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile index e6360e5cfc5b..1f098bb51120 100644 --- a/dns/unbound/Makefile +++ b/dns/unbound/Makefile @@ -7,6 +7,7 @@ PORTNAME= unbound PORTVERSION= 1.4.18 +PORTREVISION= 1 CATEGORIES= dns MASTER_SITES= http://unbound.net/downloads/ diff --git a/dns/unbound/files/unbound.in b/dns/unbound/files/unbound.in index 499f0598bbe8..eb4ce995740a 100644 --- a/dns/unbound/files/unbound.in +++ b/dns/unbound/files/unbound.in @@ -1,5 +1,7 @@ #!/bin/sh # +# $FreeBSD$ +# # unbound freebsd startup rc.d script, modified from the named script. # uses the default unbound installation path and pidfile location. # copy this to /etc/rc.d/unbound @@ -18,6 +20,7 @@ rcvar=unbound_enable command="%%PREFIX%%/sbin/unbound" extra_commands="reload" start_precmd="start_precmd" +reload_precmd="%%PREFIX%%/sbin/unbound-checkconf >/dev/null" load_rc_config $name -- cgit