From f40f7c4d8db0260c7f7be505094133ecda6e78b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Sagnes?= Date: Mon, 20 Jan 2020 01:12:36 -0800 Subject: [PATCH] Prevent failure when reloading fail2ban (#11814) fail2ban complains about a double `bantime` directive when reloading the service, suggest people change the value later rather than include two statements in the configuration file --- source/_cookbook/fail2ban.markdown | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/_cookbook/fail2ban.markdown b/source/_cookbook/fail2ban.markdown index 9f698f8aaa8..7b09d9b4ee1 100644 --- a/source/_cookbook/fail2ban.markdown +++ b/source/_cookbook/fail2ban.markdown @@ -87,8 +87,7 @@ filter = ha logpath = /home/homeassistant/.homeassistant/home-assistant.log # 3600 seconds = 1 hour -bantime = 3600 -bantime = 30 # during testing it is useful to have a short ban interval, comment out this line later +bantime = 30 # during testing it is useful to have a short ban interval, change this to 3600 later # Maximum amount of login attempts before IP is blocked maxretry = 3