mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-20 02:18:51 +00:00
Revert FTL wait-for changes
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
11
src/start.sh
11
src/start.sh
@@ -75,13 +75,10 @@ start() {
|
|||||||
sleep 0.5
|
sleep 0.5
|
||||||
done
|
done
|
||||||
|
|
||||||
# Wait until the FTL log contains the "FTL started" message before continuing, timeout after 10 seconds
|
# Wait until the FTL log contains the "FTL started" message before continuing
|
||||||
# exit if we do not find it
|
while ! grep -q '########## FTL started' /var/log/pihole/FTL.log; do
|
||||||
pihole-FTL wait-for '########## FTL started' /var/log/pihole/FTL.log 10 0 > /dev/null
|
sleep 0.5
|
||||||
if [ $? -ne 0 ]; then
|
done
|
||||||
echo " [✗] FTL did not start - stopping container"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
pihole updatechecker
|
pihole updatechecker
|
||||||
local versionsOutput
|
local versionsOutput
|
||||||
|
|||||||
Reference in New Issue
Block a user