File 009_pi-hole_logrotate_state_file.patch of Package pi-hole

diff -uNr pi-hole-5.11.4.20220710T135238~aefbe1f.orig/advanced/Scripts/piholeLogFlush.sh pi-hole-5.11.4.20220710T135238~aefbe1f/advanced/Scripts/piholeLogFlush.sh
--- pi-hole-5.11.4.20220710T135238~aefbe1f.orig/advanced/Scripts/piholeLogFlush.sh	2022-07-19 07:26:20.862648442 +0200
+++ pi-hole-5.11.4.20220710T135238~aefbe1f/advanced/Scripts/piholeLogFlush.sh	2022-07-19 07:27:59.592004352 +0200
@@ -14,7 +14,7 @@
 # In case we're running at the same time as a system logrotate, use a
 # separate logrotate state file to prevent stepping on each other's
 # toes.
-STATEFILE="/var/lib/logrotate/pihole"
+STATEFILE="/var/lib/misc/pihole.state"
 
 # Determine database location
 # Obtain DBFILE=... setting from pihole-FTL.db
openSUSE Build Service is sponsored by