Clamd: Fix Docker Healthcheck

This commit is contained in:
Markus Ritzmann
2022-06-15 15:49:29 +02:00
parent 7ae7f25580
commit 537a7908f1
3 changed files with 17 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
#!/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