Skip to content
Snippets Groups Projects
Commit 5aaf3146 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

fix(fail2ban): enalbed flag

parent 5325ef40
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ def setup(interactive=True):
destemail = utils.get_conf('FAIL2BAN_DEST_EMAIL', '') or utils.get_conf('EMAIL_ADMINS', 'root@localhost')
maxretry = utils.get_conf('FAIL2BAN_MAXRETRY', '6')
bantime = utils.get_conf('FAIL2BAN_BANTIME', '30')
enabled = utils.get_conf('FAIL2BAN_ENABLED', '0')
enabled = 'true' if utils.get_conf('FAIL2BAN_ENABLED', '0') == '0' else 'false'
cmds = [
dict(
line='write',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment