diff options
| author | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:45 -0700 |
|---|---|---|
| committer | pants <niklasjo2004@gmail.com> | 2026-09-21 14:17:45 -0700 |
| commit | a33d49ac4d1ce554c72770927957a089b4023bf1 (patch) | |
| tree | 17ea036b5a0e8b488dc236f0ce48a275ecd80ef8 /docker-compose-main/pihole/etc-pihole/logrotate | |
Diffstat (limited to 'docker-compose-main/pihole/etc-pihole/logrotate')
| -rw-r--r-- | docker-compose-main/pihole/etc-pihole/logrotate | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docker-compose-main/pihole/etc-pihole/logrotate b/docker-compose-main/pihole/etc-pihole/logrotate new file mode 100644 index 0000000..8e39020 --- /dev/null +++ b/docker-compose-main/pihole/etc-pihole/logrotate @@ -0,0 +1,21 @@ +/var/log/pihole/pihole.log { + su root root + daily + copytruncate + rotate 5 + compress + delaycompress + notifempty + nomail +} + +/var/log/pihole/FTL.log { + su root root + weekly + copytruncate + rotate 3 + compress + delaycompress + notifempty + nomail +} |
