... | ... |
@@ -3,6 +3,8 @@ Description=ClamAV virus database updater |
3 | 3 |
Documentation=man:freshclam(1) man:freshclam.conf(5) https://www.clamav.net/documents |
4 | 4 |
# If user wants it run from cron, don't start the daemon. |
5 | 5 |
ConditionPathExists=!/etc/cron.d/clamav-freshclam |
6 |
+Wants=network-online.target |
|
7 |
+After=network-online.target |
|
6 | 8 |
|
7 | 9 |
[Service] |
8 | 10 |
ExecStart=@prefix@/bin/freshclam -d --foreground=true |