Fix fail2ban service launch on Debian 12

1. Add following lines into the jail configuration

[DEFAULT]
backend = systemd

2. Make sure python3-systemd was installed

apt install python3-systemd

3. Restart service

systemctl restart fail2ban