Fix unbound logging config syntax

As a follow-on to Ib248c02b789cce1bc11fac27940e11b767c33399, this
needs to be under the "server:" tag else we get syntax errors starting
unbound.

Change-Id: I53c839f300f18972e2c7f5ad51953ab1668a1c72
This commit is contained in:
Ian Wienand 2017-06-19 12:18:11 +10:00
parent a9cf0654b2
commit 25df1d35cd
1 changed files with 4 additions and 3 deletions

View File

@ -39,9 +39,10 @@ chown root:root /etc/unbound/forwarding.conf
chmod a+r /etc/unbound/forwarding.conf
dd of=/tmp/unbound-logging.conf <<EOF
logfile: "/var/log/unbound.log"
# Log only errors
verbosity: 0
server:
logfile: "/var/log/unbound.log"
# Log only errors
verbosity: 0
EOF
mv /tmp/unbound-logging.conf /etc/unbound/unbound.conf.d/