Merge pull request #282639 from happysalada/clamav_updater_fix

nixos/clamav: fix network-online requires assert
This commit is contained in:
Yt 2024-01-21 17:02:32 +00:00 committed by GitHub
commit 612f97239e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,6 +196,7 @@ in
systemd.services.clamav-freshclam = mkIf cfg.updater.enable {
description = "ClamAV virus database updater (freshclam)";
restartTriggers = [ freshclamConfigFile ];
requires = [ "network-online.target" ];
after = [ "network-online.target" ];
serviceConfig = {
@ -243,6 +244,7 @@ in
systemd.services.clamav-fangfrisch = mkIf cfg.fangfrisch.enable {
description = "ClamAV virus database updater (fangfrisch)";
restartTriggers = [ fangfrischConfigFile ];
requires = [ "network-online.target" ];
after = [ "network-online.target" "clamav-fangfrisch-init.service" ];
serviceConfig = {