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 +} diff --git a/SPECS/kernel-6.0.spec b/SPECS/kernel-6.0.spec index e186886..50a9707 100755 --- a/SPECS/kernel-6.0.spec +++ b/SPECS/kernel-6.0.spec @@ -174,6 +174,7 @@ Source0: https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-%{LKAver}.tar.xz Source1: config-%{cpuarch} Source4: cpupower.service Source5: cpupower.config +Source2002: kvm_stat.logrotate ####################################### Source9999: logo_powerel_clut224.ppm