mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-11-14 09:16:00 +01:00
nsd.log must exist or rsyslog won't write to it
This commit is contained in:
1 parent
577a39be85
commit
7c67ad49d0
1 file changed
+6
@@ -38,6 +38,12 @@ server:
|
|||||||
|
|
||||||
EOF
|
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
|
# Since we have bind9 listening on localhost for locally-generated
|
||||||
# DNS queries that require a recursive nameserver, and the system
|
# DNS queries that require a recursive nameserver, and the system
|
||||||
# might have other network interfaces for e.g. tunnelling, we have
|
# might have other network interfaces for e.g. tunnelling, we have
|
||||||
|
|||||||
Reference in new issue
Block a user