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:
parent
577a39be85
commit
7c67ad49d0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user