1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-04 00:17:06 +00:00

nsd.log must exist or rsyslog won't write to it

This commit is contained in:
downtownallday 2022-06-24 08:22:38 -04:00
parent 577a39be85
commit 7c67ad49d0

View File

@ -38,6 +38,12 @@ server:
EOF
# nsd.log must exist or rsyslog won't write to it
if [ ! -e /var/log/nsd.log ]; then
touch /var/log/nsd.log
chown syslog:adm /var/log/nsd.log
fi
# Since we have bind9 listening on localhost for locally-generated
# DNS queries that require a recursive nameserver, and the system
# might have other network interfaces for e.g. tunnelling, we have