diff options
author | Brian Olsen <brian@maven-group.org> | 2018-11-25 06:10:30 +0100 |
---|---|---|
committer | Brian Olsen <brian@maven-group.org> | 2018-11-25 16:03:34 +0100 |
commit | 0d753af6617bb74535af0601a2cdce1a8c647889 (patch) | |
tree | 7f4d38b84c939fa532e0447b418899704dbbd076 /nixos/tests/rspamd.nix | |
parent | 22ec5128d4e6e2473046b37340ff387da02b96c3 (diff) | |
download | nixpkgs-0d753af6617bb74535af0601a2cdce1a8c647889.tar nixpkgs-0d753af6617bb74535af0601a2cdce1a8c647889.tar.gz nixpkgs-0d753af6617bb74535af0601a2cdce1a8c647889.tar.bz2 nixpkgs-0d753af6617bb74535af0601a2cdce1a8c647889.tar.lz nixpkgs-0d753af6617bb74535af0601a2cdce1a8c647889.tar.xz nixpkgs-0d753af6617bb74535af0601a2cdce1a8c647889.tar.zst nixpkgs-0d753af6617bb74535af0601a2cdce1a8c647889.zip |
nixos/rspamd: Allow worker type to be proxy again
When reworking the rspamd workers I disallowed `proxy` as a type and instead used `rspamd_proxy` which is the correct name for that worker type. That change breaks peoples existing config and so I have made this commit which allows `proxy` as a worker type again but makes it behave as `rspamd_proxy` and prints a warning if you use it.
Diffstat (limited to 'nixos/tests/rspamd.nix')
-rw-r--r-- | nixos/tests/rspamd.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/rspamd.nix b/nixos/tests/rspamd.nix index e16a9e6ffbc..396cd5b67d8 100644 --- a/nixos/tests/rspamd.nix +++ b/nixos/tests/rspamd.nix @@ -235,6 +235,7 @@ in services.rspamd = { enable = true; postfix.enable = true; + workers.rspamd_proxy.type = "proxy"; }; }; testScript = '' |