From a6020cbfa5283ee7442f104ee6340bf353471694 Mon Sep 17 00:00:00 2001 From: diginc Date: Sun, 6 Nov 2016 13:41:14 -0600 Subject: [PATCH] Fix alpine web log follow error --- bash_functions.sh | 2 +- start.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bash_functions.sh b/bash_functions.sh index 538588d..5ece23b 100644 --- a/bash_functions.sh +++ b/bash_functions.sh @@ -165,5 +165,5 @@ main() { service lighttpd start ;; esac - tail -F /var/log/lighttpd/*.log /var/log/pihole.log + tail -F "${WEBLOGDIR}"/*.log /var/log/pihole.log } diff --git a/start.sh b/start.sh index 4a31a22..8f06422 100755 --- a/start.sh +++ b/start.sh @@ -8,6 +8,9 @@ export PYTEST export PHP_ENV_CONFIG export PHP_ERROR_LOG export HOSTNAME +export WEBLOGDIR +export IPv6 + validate_env setup_saved_variables