mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-20 02:18:51 +00:00
@@ -77,7 +77,7 @@ start() {
|
|||||||
|
|
||||||
# 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, timeout after 10 seconds
|
||||||
# exit if we do not find it
|
# exit if we do not find it
|
||||||
pihole-FTL wait-for '########## FTL started' /var/log/pihole/FTL.log 10 "0 > /dev/null"
|
pihole-FTL wait-for '########## FTL started' /var/log/pihole/FTL.log 10 0 > /dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo " [✗] FTL did not start - stopping container"
|
echo " [✗] FTL did not start - stopping container"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user