mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-28 11:13:00 -04:00
2b068603f5
Based on my own mod Roxedus/lsio-docker-mods/letsencrypt/discord_f2b
23 lines
635 B
Plaintext
23 lines
635 B
Plaintext
# Author: Roxedus
|
|
# Adapted Source: Gilbn from https://technicalramblings.com
|
|
|
|
[Definition]
|
|
|
|
# Notify on Startup
|
|
actionstart = python3 /config/fail2ban/Fail2Ban.py -a start -j <name>
|
|
|
|
# Notify on Shutdown
|
|
actionstop = python3 /config/fail2ban/Fail2Ban.py -a stopped -j <name>
|
|
|
|
#
|
|
actioncheck =
|
|
|
|
# Notify on Banned
|
|
actionban = python3 /config/fail2ban/Fail2Ban.py -a ban -j <name> -i <ip> -t <bantime> -f <failures>
|
|
|
|
# Notify on Unbanned
|
|
actionunban = python3 /config/fail2ban/Fail2Ban.py -a unban -j <name> -i <ip> -t <bantime> -f <failures>
|
|
[Init]
|
|
|
|
# Name of the jail in your jail.local file. default = [your-jail-name]
|
|
name = default |