Browse code

bb12104 - Added network-online dependency to freshclam systemd service file.

Micah Snyder (micasnyd) authored on 2019/07/06 05:21:40
Showing 1 changed files
... ...
@@ -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