From d05227b552815bef6b6b884e9f1e527abd93bbc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Sch=C3=B6dl?= Date: Mon, 24 Nov 2025 07:55:11 +0000 Subject: [PATCH] =?UTF-8?q?logrotate.conf=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logrotate.conf | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 logrotate.conf 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