Use Alpine ClamAV

This commit is contained in:
andryyy
2017-05-17 07:48:48 +02:00
parent dd5b46e9ee
commit 61de3c354c
2 changed files with 12 additions and 27 deletions

View File

@@ -1,7 +1,10 @@
#!/bin/bash
trap "kill 0" SIGINT
touch /var/log/clamav/clamd.log /var/log/clamav/freshclam.log
chown -R clamav:clamav /var/log/clamav/
freshclam -d &
clamd &
sleep inf
tail -f /var/log/clamav/clamd.log /var/log/clamav/freshclam.log