From 6c5bc69c84de485fbbe87dce60f81cf4e3f3fd8d Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Fri, 5 Jun 2026 12:59:58 -0400 Subject: [PATCH] files/fail2ban-openrc.conf: default to supervise-daemon Gentoo recently started doing this, and it will (very likely) be the default in the next major version of OpenRC, as communicated to me by its maintainer. --- files/fail2ban-openrc.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/files/fail2ban-openrc.conf b/files/fail2ban-openrc.conf index 57706d3d..52686a89 100644 --- a/files/fail2ban-openrc.conf +++ b/files/fail2ban-openrc.conf @@ -1,2 +1,8 @@ # For available options, please run "fail2ban-server --help". #FAIL2BAN_OPTIONS="-x" + +# fail2ban runs under both the classic start-stop-daemon and the more +# modern supervise-daemon. Below we default to supervise-daemon, but +# only if $supervisor is unset. If you prefer start-stop-daemon, +# comment out the following line. +: ${supervisor:=supervise-daemon}