diff options
author | talyz <kim.lindberger@gmail.com> | 2021-06-16 10:25:45 +0200 |
---|---|---|
committer | talyz <kim.lindberger@gmail.com> | 2021-06-16 13:52:46 +0200 |
commit | b4c069b1476a92a540e906ef95cd7fb380d29c63 (patch) | |
tree | b668b07ee969f2537c383f0570c85d7831ec6f43 /nixos/modules/services/security/fail2ban.nix | |
parent | 593f8bde3c97f5202d762d8195c295ebc03665da (diff) | |
download | nixpkgs-b4c069b1476a92a540e906ef95cd7fb380d29c63.tar nixpkgs-b4c069b1476a92a540e906ef95cd7fb380d29c63.tar.gz nixpkgs-b4c069b1476a92a540e906ef95cd7fb380d29c63.tar.bz2 nixpkgs-b4c069b1476a92a540e906ef95cd7fb380d29c63.tar.lz nixpkgs-b4c069b1476a92a540e906ef95cd7fb380d29c63.tar.xz nixpkgs-b4c069b1476a92a540e906ef95cd7fb380d29c63.tar.zst nixpkgs-b4c069b1476a92a540e906ef95cd7fb380d29c63.zip |
nixos/fail2ban: Remove `reloadIfChanged = true`
This makes the service fail when upgrading the package, so let's properly restart it instead.
Diffstat (limited to 'nixos/modules/services/security/fail2ban.nix')
-rw-r--r-- | nixos/modules/services/security/fail2ban.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nixos/modules/services/security/fail2ban.nix b/nixos/modules/services/security/fail2ban.nix index 0c24972823d..07702bfb9d0 100644 --- a/nixos/modules/services/security/fail2ban.nix +++ b/nixos/modules/services/security/fail2ban.nix @@ -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; |