aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/kvm_stat.logrotate
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-07-21 22:57:09 +0200
committerJan200101 <sentrycraft123@gmail.com>2021-07-21 23:21:30 +0200
commitcca3b28be503223222519e3ebba2749cf24894f3 (patch)
tree9f589ac6e7dc6dd8e9830d675d46efbd25191504 /SOURCES/kvm_stat.logrotate
parent969572ecac2cb15a106d9e0f5bfa840608faa5b4 (diff)
downloadkernel-fsync-cca3b28be503223222519e3ebba2749cf24894f3.tar.gz
kernel-fsync-cca3b28be503223222519e3ebba2749cf24894f3.zip
kernel 5.13.3
Diffstat (limited to 'SOURCES/kvm_stat.logrotate')
-rw-r--r--SOURCES/kvm_stat.logrotate11
1 files changed, 11 insertions, 0 deletions
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
+}