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
+1
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