diff options
Diffstat (limited to 'SOURCES/kvm_stat.logrotate')
-rw-r--r-- | SOURCES/kvm_stat.logrotate | 11 |
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 +} |