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
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

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";
};