diff options
author | sem <sem@FreeBSD.org> | 2010-01-25 22:30:05 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2010-01-25 22:30:05 +0800 |
commit | e23f279fec514d08747011e492b96d27e63cb26f (patch) | |
tree | 583222561b335112b72954ac1d15e98ea5875989 /dns | |
parent | 1b80a5266d2594f4dab3baf4d98c19567e195f1e (diff) | |
download | freebsd-ports-gnome-e23f279fec514d08747011e492b96d27e63cb26f.tar.gz freebsd-ports-gnome-e23f279fec514d08747011e492b96d27e63cb26f.tar.zst freebsd-ports-gnome-e23f279fec514d08747011e492b96d27e63cb26f.zip |
- 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 <k at stereochro.me>
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" |