1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-12 17:07:23 +01:00

try setting mail.log permissions during setup

This commit is contained in:
downtownallday
2022-09-22 18:06:03 -04:00
parent c9eb90800b
commit 35aa9f7691
2 changed files with 6 additions and 4 deletions

View File

@@ -407,4 +407,5 @@ EOF
# Before miabldap v56, nsd.log was owned by nsd:nsd, which would
# prevent rsyslog from writing to it. Fix the ownership.
[ -e /var/log/nsd.log ] && chown syslog:adm /var/log/nsd.log
[ -e /var/log/mail.log ] && chown syslog:adm /var/log/mail.log
restart_service rsyslog