mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-01-02 10:36:11 -05:00
use standard log rotation approach for wtmp/btmp
This commit is contained in:
parent
455ef92c18
commit
81fa5f8ebd
@ -24,15 +24,10 @@ tabooext + .pacorig .pacnew .pacsave
|
|||||||
include /etc/logrotate.d
|
include /etc/logrotate.d
|
||||||
|
|
||||||
/var/log/wtmp {
|
/var/log/wtmp {
|
||||||
monthly
|
|
||||||
create 0664 root utmp
|
create 0664 root utmp
|
||||||
minsize 1M
|
|
||||||
rotate 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/var/log/btmp {
|
/var/log/btmp {
|
||||||
missingok
|
missingok
|
||||||
monthly
|
|
||||||
create 0600 root utmp
|
create 0600 root utmp
|
||||||
rotate 1
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user