nixos/clamav: fix freshclam service if db up to date
This commit is contained in:
parent
f8d681a91f
commit
11ba2f270f
@ -137,6 +137,7 @@ in
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkg}/bin/freshclam";
|
||||
SuccessExitStatus = "1"; # if databases are up to date
|
||||
PrivateTmp = "yes";
|
||||
PrivateDevices = "yes";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user