Skip to content
Snippets Groups Projects
Commit b58e4e36 authored by Jan Mach's avatar Jan Mach
Browse files

Fix: Added separate configuration for mentat-controller.py module.

This module does get executed very often as root and the log file may have root privileges. It should be rotated with separate configuration. This may however raise errors with duplicate configuration by logrotate, some versions do not allow configuration overriding. We will see, how this fix fares and perhaps another solution may be necessary.
parent f2822bb4
No related branches found
No related tags found
No related merge requests found
...@@ -16,3 +16,16 @@ ...@@ -16,3 +16,16 @@
create 644 mentat mentat create 644 mentat mentat
su mentat mentat su mentat mentat
} }
/var/mentat/log/mentat-controller.py.log
{
rotate 2
weekly
missingok
notifempty
compress
delaycompress
dateext
create 644 root root
su root root
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment