From fd36702b5e7b94d96163075d5baada7cda92a9c6 Mon Sep 17 00:00:00 2001 From: Sergey Matveychuk Date: Mon, 25 Jan 2010 14:30:05 +0000 Subject: - Forgot to set : ${unbound_enable:-"NO"} - Allow user to set a pid file location with unbound_pidfile="..." PR: ports/142793 (based on) Submitted by: Keith Gaughan --- dns/unbound/files/unbound.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dns/unbound') 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" -- cgit v1.2.3