mailcow/data/Dockerfiles/clamd/healthcheck.sh

10 lines
178 B
Bash
Raw Normal View History

2022-06-15 15:49:29 +02:00
#!/bin/bash
if [[ "${SKIP_CLAMD}" =~ ^([yY][eE][sS]|[yY])+$ ]]; then
echo "SKIP_CLAMD=y, skipping ClamAV..."
exit 0
fi
# run clamd healthcheck
/usr/local/bin/clamdcheck.sh