1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Run unbound-checkconf on startup

Submitted by:	Anton Yuzhaninov <citrin at citrin.ru>
This commit is contained in:
Sergey Matveychuk 2012-09-09 01:08:36 +00:00
parent 5fb1d1cfdc
commit a26bbf8ae1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303943
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= unbound
PORTVERSION= 1.4.18
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/

View File

@ -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