From 129373b122234540262585f6004c298e48d81ad2 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Sat, 7 Jan 2023 22:25:50 +0100 Subject: [PATCH] kvm_stat logrotate Signed-off-by: Toshaan Bharvani --- SOURCES/kvm_stat.logrotate | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 SOURCES/kvm_stat.logrotate diff --git a/SOURCES/kvm_stat.logrotate b/SOURCES/kvm_stat.logrotate new file mode 100644 index 0000000..105e15e --- /dev/null +++ b/SOURCES/kvm_stat.logrotate @@ -0,0 +1,11 @@ +/var/log/kvm_stat.csv { + size 10M + missingok + compress + maxage 30 + rotate 5 + nodateext + postrotate + /usr/bin/systemctl try-restart kvm_stat.service + endscript +}