diff options
author | 2018-09-15 00:00:12 +0200 | |
---|---|---|
committer | 2018-09-15 00:03:47 +0200 | |
commit | 76a0fe9aa1906a7bbe192efb56ef8335d21b9a3c (patch) | |
tree | 69adc3b7d21f84e9c17edd92d69d61a7c3aa6282 /net-dns/unbound/files/unbound-r1.confd | |
parent | net-dns/unbound: move EDNS client subnet support behind USE flag due to priva... (diff) | |
download | gentoo-76a0fe9aa1906a7bbe192efb56ef8335d21b9a3c.tar.gz gentoo-76a0fe9aa1906a7bbe192efb56ef8335d21b9a3c.tar.bz2 gentoo-76a0fe9aa1906a7bbe192efb56ef8335d21b9a3c.zip |
net-dns/unbound: runscript rewritten
- "need net" changed to "use net". If you need to bind service to a specific
interface or address add 'rc_need="<interface>"' in /etc/conf.d/<unbound>.
- Use "/run" instead of "/var/run".
- Verify daemon is really up and running.
- It is now possible to pass any by start-stop-daemon supported arguments
to start-stop-daemon.
- It is now possible to preserve unbound's cache. [Bug 632644]
Closes: https://bugs.gentoo.org/632644
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'net-dns/unbound/files/unbound-r1.confd')
-rw-r--r-- | net-dns/unbound/files/unbound-r1.confd | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net-dns/unbound/files/unbound-r1.confd b/net-dns/unbound/files/unbound-r1.confd new file mode 100644 index 000000000000..c86c65c64962 --- /dev/null +++ b/net-dns/unbound/files/unbound-r1.confd @@ -0,0 +1,36 @@ +# /etc/conf.d/unbound + +# Configuration file +#UNBOUND_CONFFILE="/etc/unbound/unbound.conf" + +# PID file +# This is a fallback value which should NOT be changed. If you ever need +# to change PID file, please change value in configuration file instead! +#UNBOUND_PIDFILE="/run/unbound.pid" + +# You can use this configuration option to pass additional options to the +# start-stop-daemon, see start-stop-daemon(8) for more details. +# Per default we wait 1000ms after we have started the service to ensure +# that the daemon is really up and running. +#UNBOUND_SSDARGS="--wait 1000" + +# The termination timeout (start-stop-daemon parameter "retry") ensures +# that the service will be terminated within a given time (25 + 5 seconds +# per default) when you are stopping the service. +#UNBOUND_TERMTIMEOUT="TERM/25/KILL/5" + +# Options to unbound +# See unbound(8) for more details +# Notes: +# * Do not specify another CONFIGFILE but use the variable above to change the location +#UNBOUND_OPTS="" + +# If you want to preserve unbound's cache, set the following variable to +# a non-zero value. In this case unbound's cache will be dumped to disk +# before shutdown and loaded right after start. +# To be able to dump and load cache you have to set up keys (use `unbound-control-setup`) +# and need to set 'control-enable: yes' in your configuration! +# WARNING: If you don't know what you are doing you should NOT use this +# feature. Loading the cache with old or wrong data can result in +# old or wrong data being returned to clients. +#UNBOUND_PRESERVE_CACHE="" |