aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2010-01-25 14:30:05 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2010-01-25 14:30:05 +0000
commitfd36702b5e7b94d96163075d5baada7cda92a9c6 (patch)
tree4c34a9ccc57a7cc60b94c5efce3dd2c00740a44f /dns
parent214abc1474b3c353a065581ea6661f2f23a07955 (diff)
downloadports-fd36702b5e7b94d96163075d5baada7cda92a9c6.tar.gz
ports-fd36702b5e7b94d96163075d5baada7cda92a9c6.zip
Notes
Diffstat (limited to 'dns')
-rw-r--r--dns/unbound/files/unbound.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/dns/unbound/files/unbound.in b/dns/unbound/files/unbound.in
index 7ce99cee38b8..cc45a2751050 100644
--- a/dns/unbound/files/unbound.in
+++ b/dns/unbound/files/unbound.in
@@ -16,8 +16,11 @@ name="unbound"
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/unbound"
-pidfile="%%PREFIX%%/etc/unbound/unbound.pid"
extra_commands="reload"
load_rc_config $name
+
+pidfile=${unbound_pidfile:-"%%PREFIX%%/etc/unbound/unbound.pid"}
+unbound_enable=${unbound_enable:-"NO"}
+
run_rc_command "$1"