diff options
author | Thorsten Leemhuis <fedora@leemhuis.info> | 2021-07-08 09:05:49 +0200 |
---|---|---|
committer | Thorsten Leemhuis <fedora@leemhuis.info> | 2021-07-08 09:05:49 +0200 |
commit | 2615a1ce1163e2180780acab0157ccd8cf9404ab (patch) | |
tree | 3a8a87cacf96523f2c43203a997c8dac06c276ad /kvm_stat.logrotate | |
parent | 7fea8875b5dbb16f2254f3e796e58d1d4adc7272 (diff) | |
parent | bb0aad375410a7dcc5d60d55b017ed8718bf2a52 (diff) | |
download | kernel-2615a1ce1163e2180780acab0157ccd8cf9404ab.tar.gz kernel-2615a1ce1163e2180780acab0157ccd8cf9404ab.tar.xz kernel-2615a1ce1163e2180780acab0157ccd8cf9404ab.zip |
Diffstat (limited to 'kvm_stat.logrotate')
-rw-r--r-- | kvm_stat.logrotate | 11 |
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 +} |