Browse Source

kvm_stat logrotate

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 2 years ago
parent
commit
129373b122
  1. 11
      SOURCES/kvm_stat.logrotate

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
}
Loading…
Cancel
Save