pi-hole/automated install
Adam Warner 340b37ab51
Stop double-rotating logs now that pihole is in /etc/logrotate.d
Our config moved into /etc/logrotate.d/pihole a while back, so the
system's own scheduled logrotate now picks it up too. Our nightly and
@reboot forced runs were still using a private state file though, so
the system's run and ours each rotated the same logs independently,
unaware of each other.

Drop the private state file and use logrotate's default one instead,
so both sides agree on what's already been rotated. Also clean up the
now-stale /etc/pihole/logrotate and private state file left behind by
older installs.

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2026-07-07 13:40:38 +01:00
..
basic-install.sh Stop double-rotating logs now that pihole is in /etc/logrotate.d 2026-07-07 13:40:38 +01:00
uninstall.sh Stop double-rotating logs now that pihole is in /etc/logrotate.d 2026-07-07 13:40:38 +01:00