mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
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";
|
||||
|
||||
restartTriggers = [ fail2banConf jailConf ];
|
||||
path = [ pkgs.fail2ban pkgs.iptables ];
|
||||
path = [ pkgs.fail2ban pkgs.iptables pkgs.iproute ];
|
||||
|
||||
preStart =
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user