mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-04 00:17:06 +00:00
Fix the ownership of nsd.log on upgrade
This commit is contained in:
parent
8e3f361d70
commit
b7c7187fa5
@ -389,4 +389,8 @@ mail.* stop
|
|||||||
# configuration.
|
# configuration.
|
||||||
:app-name, isequal, "nsd" -/var/log/nsd.log
|
:app-name, isequal, "nsd" -/var/log/nsd.log
|
||||||
EOF
|
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
|
||||||
restart_service rsyslog
|
restart_service rsyslog
|
||||||
|
Loading…
Reference in New Issue
Block a user