summaryrefslogtreecommitdiffstats
path: root/kvm_stat.logrotate
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2021-07-20 08:59:23 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2021-07-20 08:59:23 -0500
commit8fc0fb03ceaaf2f3f701ef51238652c015de79ce (patch)
tree25fc30ee8b95b146359660eea97df37aafa20bcd /kvm_stat.logrotate
parenta67d4732359806fe78fda941ca97715d1ddd404c (diff)
downloadkernel-8fc0fb03ceaaf2f3f701ef51238652c015de79ce.tar.gz
kernel-8fc0fb03ceaaf2f3f701ef51238652c015de79ce.tar.xz
kernel-8fc0fb03ceaaf2f3f701ef51238652c015de79ce.zip
kernel-5.13.3-100
* Mon Jul 19 2021 Justin M. Forbes <jforbes@fedoraproject.org> [5.13.3-100] - kernel-5.13.3-0 (Justin M. Forbes) - Don't tag a release as [redhat] (Justin M. Forbes) - platform/x86: amd-pmc: Fix missing unlock on error in amd_pmc_send_cmd() (Yang Yingliang) Resolves: rhbz# Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'kvm_stat.logrotate')
-rw-r--r--kvm_stat.logrotate11
1 files changed, 11 insertions, 0 deletions
diff --git a/kvm_stat.logrotate b/kvm_stat.logrotate
new file mode 100644
index 000000000..105e15e65
--- /dev/null
+++ b/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
+}