diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2010-01-25 14:30:05 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2010-01-25 14:30:05 +0000 |
commit | fd36702b5e7b94d96163075d5baada7cda92a9c6 (patch) | |
tree | 4c34a9ccc57a7cc60b94c5efce3dd2c00740a44f /dns | |
parent | 214abc1474b3c353a065581ea6661f2f23a07955 (diff) | |
download | ports-fd36702b5e7b94d96163075d5baada7cda92a9c6.tar.gz ports-fd36702b5e7b94d96163075d5baada7cda92a9c6.zip |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/unbound/files/unbound.in | 5 |
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" |