make antivirus-healthcheck more understandable
This commit is contained in:
8
optional/clamav/health.sh
Executable file
8
optional/clamav/health.sh
Executable 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
|
||||
Reference in New Issue
Block a user