diff options
author | sem <sem@FreeBSD.org> | 2012-09-09 09:08:36 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2012-09-09 09:08:36 +0800 |
commit | 9a12e6585c2bf870a6d037d10991935cfbb6e0cc (patch) | |
tree | a63f15b462f066b1a533cb99c2eb746c47d9dfe7 /dns | |
parent | a38de291033b9c575b2a67cf1ecd7c3fda1582e4 (diff) | |
download | freebsd-ports-gnome-9a12e6585c2bf870a6d037d10991935cfbb6e0cc.tar.gz freebsd-ports-gnome-9a12e6585c2bf870a6d037d10991935cfbb6e0cc.tar.zst freebsd-ports-gnome-9a12e6585c2bf870a6d037d10991935cfbb6e0cc.zip |
- Run unbound-checkconf on startup
Submitted by: Anton Yuzhaninov <citrin at citrin.ru>
Diffstat (limited to 'dns')
-rw-r--r-- | dns/unbound/Makefile | 1 | ||||
-rw-r--r-- | dns/unbound/files/unbound.in | 3 |
2 files changed, 4 insertions, 0 deletions
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 |