Skip to content

Commit

Permalink
nixos/clamav: fix freshclam service if db up to date
Browse files Browse the repository at this point in the history
(cherry picked from commit 11ba2f2)
  • Loading branch information
fpletz committed Oct 1, 2018
1 parent 5fc5a4f commit 66fd611
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/services/security/clamav.nix
Expand Up @@ -137,6 +137,7 @@ in
serviceConfig = {
Type = "oneshot";
ExecStart = "${pkg}/bin/freshclam";
SuccessExitStatus = "1"; # if databases are up to date
PrivateTmp = "yes";
PrivateDevices = "yes";
};
Expand Down

0 comments on commit 66fd611

Please sign in to comment.