From 8602b52afe340cafd0f1aa7d06bc89cafbaca4a3 Mon Sep 17 00:00:00 2001 From: olli Date: Sun, 25 Feb 2024 13:00:28 +0100 Subject: [PATCH] traefik.yml aktualisiert --- traefik.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/traefik.yml b/traefik.yml index 495f0e4..54c2491 100644 --- a/traefik.yml +++ b/traefik.yml @@ -259,6 +259,7 @@ cat $g_tmp/hosts | cut -d '`' -f2 | sort -u | while read host do + find -mmin -5 /tmp/$host >/dev/null 2>&1 | grep -q $host && continue egrep -q "192.168.41.1 $host" /etc/hosts || echo "192.168.41.1 $host" >>/etc/hosts if ! wget --dns-timeout=120 -t5 --waitretry=120 --connect-timeout=300 --read-timeout=15 http://${host} >${g_tmp}/traefik-wget-check -O /dev/null 2>&1 then