Fix logrotate conf for *tmp logs

This commit is contained in:
Jeremy Gardais 2019-01-21 11:51:17 +01:00
parent 98e3feb911
commit 2983239fcc
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
4 changed files with 17 additions and 19 deletions

Binary file not shown.

View File

@ -8,22 +8,3 @@ notifempty
include /etc/logrotate.d include /etc/logrotate.d
rotate 4 rotate 4
# No packages own wtmp or btmp, they will be managed directly
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
rotate 3
olddir /var/log/old_logs.d
minsize 1M
}
# No packages own wtmp or btmp, they will be managed directly
/var/log/btmp {
missingok
monthly
create 0660 root utmp
rotate 3
olddir /var/log/old_logs.d
}

View File

@ -0,0 +1,8 @@
# no packages own btmp -- we'll rotate it here
/var/log/btmp {
missingok
monthly
create 0660 root utmp
rotate 3
olddir /var/log/old_logs.d
}

View File

@ -0,0 +1,9 @@
# no packages own wtmp -- we'll rotate it here
/var/log/wtmp {
missingok
monthly
create 0664 root utmp
minsize 1M
rotate 3
olddir /var/log/old_logs.d
}