# Fix fail2ban service launch on Debian 12

1. Add following lines into the jail configuration

``` /etc/fail2ban/jail.local
[DEFAULT]
backend = systemd
```

2. Make sure python3-systemd was installed

``` bash
apt install python3-systemd
```

3. Restart service

``` bash
systemctl restart fail2ban
```