r/samba-dc: Rotate KDC log weekly
The Samba KDC log file seems to grow rather quickly sometimes, outpacing the monthly rotation policy. Let's rotate it weekly and keep 4 historical versions.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
/var/log/krb5kdc.log /var/log/samba/mit_kdc.log {
|
||||
missingok
|
||||
notifempty
|
||||
monthly
|
||||
rotate 2
|
||||
weekly
|
||||
rotate 4
|
||||
postrotate
|
||||
pkill -HUP krb5kdc || true
|
||||
endscript
|
||||
|
||||
Reference in New Issue
Block a user