mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 00:06:51 +00:00
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
This commit is contained in:
parent
a775092a3c
commit
f40f7c4d8d
@ -87,8 +87,7 @@ filter = ha
|
|||||||
logpath = /home/homeassistant/.homeassistant/home-assistant.log
|
logpath = /home/homeassistant/.homeassistant/home-assistant.log
|
||||||
|
|
||||||
# 3600 seconds = 1 hour
|
# 3600 seconds = 1 hour
|
||||||
bantime = 3600
|
bantime = 30 # during testing it is useful to have a short ban interval, change this to 3600 later
|
||||||
bantime = 30 # during testing it is useful to have a short ban interval, comment out this line later
|
|
||||||
|
|
||||||
# Maximum amount of login attempts before IP is blocked
|
# Maximum amount of login attempts before IP is blocked
|
||||||
maxretry = 3
|
maxretry = 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user