Skip to content
Snippets Groups Projects
Commit 4f50871b authored by MyIgel's avatar MyIgel :fire:
Browse files

logrotate: Don't rotate wtmp and btmp on buster as it has its own config for that

parent 80bde765
Branches
No related tags found
No related merge requests found
Pipeline #23602 passed
......@@ -17,6 +17,7 @@ delaycompress
# packages drop log rotation information into this directory
include /etc/logrotate.d
{%- if grains['osfinger'] != 'Debian-10' %}
# no packages own wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
missingok
......@@ -31,5 +32,6 @@ include /etc/logrotate.d
create 0660 root utmp
rotate 1
}
{%- endif %}
# system-specific logs may be configured here
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment