it's clamav.daemon

This commit is contained in:
niten 2023-09-24 10:32:13 -07:00
parent e9cefb8860
commit 70cc32e65d
1 changed files with 14 additions and 12 deletions

View File

@ -39,19 +39,21 @@ in {
[ "d ${cfg.state-directory} 0750 clamav clamav - -" ];
services.clamav = {
enable = true;
settings = {
PhishingScanURLs = "no";
DatabaseDirectory = mkForce cfg.state-directory;
User = "clavmav";
TCPSocket = cfg.port;
daemon = {
enable = true;
settings = {
PhishingScanURLs = "no";
DatabaseDirectory = mkForce cfg.state-directory;
User = "clavmav";
TCPSocket = cfg.port;
};
};
};
updater = {
enable = true;
settings = {
DatabaseDirectory = mkForce cfg.state-directory;
DatabaseOwner = "clamav";
updater = {
enable = true;
settings = {
DatabaseDirectory = mkForce cfg.state-directory;
DatabaseOwner = "clamav";
};
};
};
};