nixos/fail2ban: Remove reloadIfChanged = true

This makes the service fail when upgrading the package, so let's
properly restart it instead.

(cherry picked from commit b4c069b1476a92a540e906ef95cd7fb380d29c63)
This commit is contained in:
talyz 2021-06-16 10:25:45 +02:00 committed by github-actions[bot]
parent 2e15be0725
commit d726b9c204

View File

@ -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;