mailcow/data/Dockerfiles/clamd/bootstrap.sh
2017-06-25 00:21:24 +02:00

11 lines
225 B
Bash
Executable File

#!/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 &
tail -f /var/log/clamav/clamd.log /var/log/clamav/freshclam.log