Fedora 40 support

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2024-06-02 12:18:11 -05:00
parent d22f3f2de1
commit f5b1d66dd8
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
# see "man logrotate" for details
# global options do not affect preceding include directives
# rotate log files weekly
daily
# keep 4 weeks worth of backlogs
rotate 90
# create new (empty) log files after rotating old ones
create
# use date as a suffix of the rotated file
dateext
# uncomment this if you want your log files compressed
compress
# packages drop log rotation information into this directory
include /etc/logrotate.d
# system-specific logs may also be configured here.

View File

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

View File

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