diff --git a/logrotate.conf b/logrotate.conf new file mode 100644 index 0000000..b5e21d7 --- /dev/null +++ b/logrotate.conf @@ -0,0 +1,15 @@ +/var/log/*.log +/var/log/**/*.log +/var/log/*.gz +/var/log/**/*.gz { + daily + rotate 0 + maxage 60 + missingok + notifempty + compress + sharedscripts + postrotate + /usr/lib/rsyslog/rsyslog-rotate 2>/dev/null || true + endscript +} \ No newline at end of file