File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,8 @@ start() {
5252 migrate_gravity
5353
5454 echo " [i] pihole-FTL pre-start checks"
55- # Remove possible leftovers from previous pihole-FTL processes
56- rm -f /dev/shm/FTL-* 2> /dev/null
57- rm -f /run/pihole/FTL.sock
55+ # Run the post stop script to cleanup any remaining artifacts from a previous run
56+ sh /opt/pihole/pihole-FTL-poststop.sh
5857
5958 fix_capabilities
6059 sh /opt/pihole/pihole-FTL-prestart.sh
@@ -135,6 +134,8 @@ stop() {
135134 FTL_EXIT_CODE=1
136135 fi
137136
137+ sh /opt/pihole/pihole-FTL-poststop.sh
138+
138139 echo " "
139140 echo " [i] pihole-FTL exited with status $FTL_EXIT_CODE "
140141 echo " "
Original file line number Diff line number Diff line change 11pytest == 8.4.1
22pytest-testinfra == 10.2.2
33pytest-clarity == 1.0.1
4- tox == 4.27.0
4+ tox == 4.28.4
55# Not adding pytest-xdist as using pytest with n > 1 cores
66# causes random issues with the emulated architectures
You can’t perform that action at this time.
0 commit comments