mirror of
https://codeberg.org/postscriptum/gemlog.git
synced 2026-02-19 22:42:39 +00:00
20 lines
No EOL
303 B
Text
20 lines
No EOL
303 B
Text
# 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
|
|
``` |