From 7c7ed5ce06621578b72725094cab12d6192a4598 Mon Sep 17 00:00:00 2001 From: Kerstin Humm Date: Wed, 1 Dec 2021 01:00:51 +0100 Subject: [PATCH] Revert "rspamd: make sure redis is started over TCP socket" This reverts commit 4f0f0128d8d4115571b3ff0ce2378ddf7de7278e. Redis does seem to run fine with both unixSocket and TCP enabled. This broke people's setups. --- mail-server/rspamd.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/mail-server/rspamd.nix b/mail-server/rspamd.nix index 57e9cea..371edde 100644 --- a/mail-server/rspamd.nix +++ b/mail-server/rspamd.nix @@ -99,12 +99,6 @@ in }; services.redis.enable = true; - assertions = [ - { - assertion = isNull config.services.redis.unixSocket; - message = "nixos-mailserver doesn't support redis over UNIX socket"; - } - ]; systemd.services.rspamd = { requires = [ "redis.service" ] ++ (lib.optional cfg.virusScanning "clamav-daemon.service");