We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0bba16 + 0c1fdcf commit 6568ae7Copy full SHA for 6568ae7
src/start.sh
@@ -52,9 +52,8 @@ start() {
52
migrate_gravity
53
54
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
+ # Run the post stop script to cleanup any remaining artifacts from a previous run
+ sh /opt/pihole/pihole-FTL-poststop.sh
58
59
fix_capabilities
60
sh /opt/pihole/pihole-FTL-prestart.sh
@@ -135,6 +134,8 @@ stop() {
135
134
FTL_EXIT_CODE=1
136
fi
137
138
+
139
echo ""
140
echo " [i] pihole-FTL exited with status $FTL_EXIT_CODE"
141
0 commit comments