all-in-one/Containers/clamav/healthcheck.sh
Simon L. a661b488c3 clamav: adjust a few more things
Signed-off-by: Simon L. <szaimen@e.mail.de>
2025-03-06 16:58:25 +01:00

9 lines
151 B
Bash

#!/bin/bash
if [ "$(echo "PING" | nc 127.0.0.1 3310)" != "PONG" ]; then
echo "ERROR: Unable to contact server"
exit 1
fi
echo "Clamd is up"
exit 0