Merge pull request #282639 from happysalada/clamav_updater_fix
nixos/clamav: fix network-online requires assert
This commit is contained in:
commit
612f97239e
1 changed files with 2 additions and 0 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue