fail2ban custom action

# Fail2Ban configuration file
#
# Author: John McMurray <john@s0ftsmart.co.za>
#
#

[Definition]

actionstart = touch /var/run/fail2ban/fail2ban.webcp

actionstop = rm -f /var/run/fail2ban/fail2ban.webcp

actioncheck = 

actionban = /scripts/fail2ban/ban.sh <name> <bantime> <ip>

actionunban = /scripts/fail2ban/unban.sh <ip>

[Init]

init = WebCP notifications