kvm_stat logrotate

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2023-01-07 22:25:50 +01:00
parent ab54fcd1fc
commit 129373b122
1 changed files with 11 additions and 0 deletions

View File

@ -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
}