files/fail2ban-openrc.init.in: start after nftables

The "after iptables" clause in the OpenRC service script's depend()
function causes fail2ban to start after iptables, if iptables is
scheduled to start. Here we add "after nftables" as well: nftables is
the successor to iptables, and fail2ban supports it out-of-the-box.
If nftables is scheduled to start, we want to wait until it's done
before starting fail2ban.
pull/3823/head
Michael Orlitzky 2024-08-24 11:59:59 -04:00
parent be734991eb
commit 9e31cfc1f1
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ retry="30"
depend() {
use logger
after iptables
after iptables nftables
}
checkconfig() {