Skip to content

Commit f4aac36

Browse files
authored
Merge pull request #1877 from pi-hole/development
Development
2 parents 2e16c1b + 6568ae7 commit f4aac36

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/start.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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 ""

test/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pytest == 8.4.1
22
pytest-testinfra == 10.2.2
33
pytest-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

0 commit comments

Comments
 (0)