fail2ban service: add iproute to PATH
iproute is required for blocking via null routes; without it, rules based on routes.conf will fail. Closes #15638
This commit is contained in:
parent
315101ac70
commit
77028b1e8d
|
@ -102,7 +102,7 @@ in
|
||||||
partOf = optional config.networking.firewall.enable "firewall.service";
|
partOf = optional config.networking.firewall.enable "firewall.service";
|
||||||
|
|
||||||
restartTriggers = [ fail2banConf jailConf ];
|
restartTriggers = [ fail2banConf jailConf ];
|
||||||
path = [ pkgs.fail2ban pkgs.iptables ];
|
path = [ pkgs.fail2ban pkgs.iptables pkgs.iproute ];
|
||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in a new issue