nixos/clamav: fix freshclam service if db up to date

This commit is contained in:
Franz Pletz
2018-10-01 23:34:06 +02:00
parent f8d681a91f
commit 11ba2f270f

View File

@@ -137,6 +137,7 @@ in
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkg}/bin/freshclam";
SuccessExitStatus = "1"; # if databases are up to date
PrivateTmp = "yes";
PrivateDevices = "yes";
};