diff --git a/src/start.sh b/src/start.sh index 37a8e304..7844b23d 100644 --- a/src/start.sh +++ b/src/start.sh @@ -98,7 +98,7 @@ start() { # Get the line number startFrom=$(grep -n '########## FTL started' /var/log/pihole/FTL.log | tail -1 | cut -d: -f1) # Start the tail from the line number and background it - tail --follow=name -n +${startFrom} /var/log/pihole/FTL.log & + tail --follow=name --retry -n +${startFrom} /var/log/pihole/FTL.log & else echo " [i] FTL log output is disabled. Remove the Environment variable TAIL_FTL_LOG, or set it to 1 to enable FTL log output." fi