make antivirus-healthcheck more understandable

This commit is contained in:
Thomas Sänger
2018-10-16 22:30:15 +02:00
parent 040c1e529a
commit f0f5cea5d1
2 changed files with 10 additions and 1 deletions

8
optional/clamav/health.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
if [ "$(echo PING | nc localhost 3310)" = "PONG" ]; then
echo "ping successful"
else
echo "ping failed"
exit 1
fi