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:
Frédéric Sagnes 2020-01-20 01:12:36 -08:00 committed by Franck Nijhof
parent a775092a3c
commit f40f7c4d8d

View File

@ -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