mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-01-04 04:29:17 +00:00
[Clamd] Run freshclam before starting ClamAV
This commit is contained in:
@@ -38,10 +38,13 @@ sed -i '/^\s*$/d' /var/lib/clamav/whitelist.ign2
|
||||
|
||||
BACKGROUND_TASKS=()
|
||||
|
||||
echo "Running freshclam..."
|
||||
freshclam
|
||||
|
||||
(
|
||||
while true; do
|
||||
freshclam
|
||||
sleep 12600
|
||||
freshclam
|
||||
done
|
||||
) &
|
||||
BACKGROUND_TASKS+=($!)
|
||||
|
||||
Reference in New Issue
Block a user