diff --git a/README.md b/README.md index 73feb15..88df091 100644 --- a/README.md +++ b/README.md @@ -304,4 +304,4 @@ Pi-hole is an integral part of your network, don't let it fall over because of a # User Feedback -Please report issues on the [GitHub project](https://github.com/pi-hole/docker-pi-hole) when you suspect something docker related. Pi-hole or general docker questions are best answered on our [user forums](https://discourse.pi-hole.net/c/bugs-problems-issues/docker/30). +Please report issues on the [GitHub project](https://github.com/pi-hole/docker-pi-hole) when you suspect something docker related. Pi-hole or general docker questions are best answered on our [user forums](https://discourse.pi-hole.net/c/bugs-problems-issues/docker/30) diff --git a/src/start.sh b/src/start.sh index a6fa83b..6c19e10 100644 --- a/src/start.sh +++ b/src/start.sh @@ -93,9 +93,9 @@ start() { if [ "${TAIL_FTL_LOG:-1}" -eq 1 ]; then # Start tailing the FTL log from the most recent "FTL Started" message # Get the line number - startFrom=$(grep -n '########## FTL started' /var/log/pihole/FTL.log | tail -1 | cut -d: -f1) + startFrom=$(grep -n '########## FTL started' "${FTLlogFile}" | 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 -n +"${startFrom}" "${FTLlogFile}" & 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