From c5af8635c8518699de4fb12a27b2fac451b0e967 Mon Sep 17 00:00:00 2001 From: jochen Date: Mon, 28 Sep 2026 20:42:42 +0200 Subject: [PATCH] fail2ban: restart when the log declaration changes The file that says where fail2ban logs was not in restart-on, so a change to it would sit on disk with the running service unaware of it -- the same shape as any other jail file this module already restarts for. --- modules/fail2ban/module.json | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/fail2ban/module.json b/modules/fail2ban/module.json index 3b504a7..df7d3bb 100644 --- a/modules/fail2ban/module.json +++ b/modules/fail2ban/module.json @@ -77,6 +77,7 @@ "state": "running", "boot": "enabled", "restart-on": [ + "fail2ban-local", "jail-local", "jail-sshd", "jail-recidive",