nixos/fail2ban: Remove reloadIfChanged = true

This makes the service fail when upgrading the package, so let's
properly restart it instead.
This commit is contained in:
talyz 2021-06-16 10:25:45 +02:00
parent 593f8bde3c
commit b4c069b147
No known key found for this signature in database
GPG Key ID: 2DED2151F4671A2B

@ -257,7 +257,6 @@ in
partOf = optional config.networking.firewall.enable "firewall.service";
restartTriggers = [ fail2banConf jailConf pathsConf ];
reloadIfChanged = true;
path = [ cfg.package cfg.packageFirewall pkgs.iproute2 ] ++ cfg.extraPackages;