Browse Source

add kvm_stat logrotate source file and definition

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 years ago
parent
commit
e42b083230
  1. 11
      SOURCES/kvm_stat.logrotate
  2. 1
      SPECS/kernel-6.0.spec

11
SOURCES/kvm_stat.logrotate

@ -0,0 +1,11 @@ @@ -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
}

1
SPECS/kernel-6.0.spec

@ -174,6 +174,7 @@ Source0: https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-%{LKAver}.tar.xz @@ -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


Loading…
Cancel
Save