From 65c23b744aa7923cfd3ba9c844538c0923ca46fe Mon Sep 17 00:00:00 2001 From: "thorsten.spille" Date: Mon, 15 May 2023 15:48:39 +0200 Subject: [PATCH] Add logrotate config --- bashclub-zsync/etc/logrotate.d/bashclub_zsync | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 bashclub-zsync/etc/logrotate.d/bashclub_zsync diff --git a/bashclub-zsync/etc/logrotate.d/bashclub_zsync b/bashclub-zsync/etc/logrotate.d/bashclub_zsync new file mode 100644 index 0000000..c0458d2 --- /dev/null +++ b/bashclub-zsync/etc/logrotate.d/bashclub_zsync @@ -0,0 +1,9 @@ +/var/log/zsync/*.log { + weekly + rotate 12 + compress + delaycompress + missingok + notifempty + create 644 root root +} \ No newline at end of file