Hello
Sorry about the incorrect tag. I couldn’t find anything relevant to fail2ban
I’m trying to set up a custom jail for immich using the lsio fail2ban container. I have set immich to log to journald and my understanding is that fail2ban can read this by specifying the systemd backend.
Here is my jail on jail.local:
[immich]
enabled = true
filter = immich
chain = DOCKER-USER
bantime = 24h
journalmatch = immich-server
backend = systemd
What happens when I restart the server, is that I get this log line on repeat every second:
Server ready
If I remove backend = systemd
from the jail config, the server starts fine, but can’t read the logs