Revert "rspamd: make sure redis is started over TCP socket"
This reverts commit 4f0f0128d8
.
Redis does seem to run fine with both unixSocket and TCP enabled. This
broke people's setups.
This commit is contained in:
parent
822c5f22bd
commit
7c7ed5ce06
1 changed files with 0 additions and 6 deletions
|
@ -99,12 +99,6 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
services.redis.enable = true;
|
services.redis.enable = true;
|
||||||
assertions = [
|
|
||||||
{
|
|
||||||
assertion = isNull config.services.redis.unixSocket;
|
|
||||||
message = "nixos-mailserver doesn't support redis over UNIX socket";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
systemd.services.rspamd = {
|
systemd.services.rspamd = {
|
||||||
requires = [ "redis.service" ] ++ (lib.optional cfg.virusScanning "clamav-daemon.service");
|
requires = [ "redis.service" ] ++ (lib.optional cfg.virusScanning "clamav-daemon.service");
|
||||||
|
|
Loading…
Reference in a new issue