health-check: include a wg-home check

This commit is contained in:
Colin 2024-05-25 03:49:33 +00:00
parent 842651efd5
commit 692bc89cbb

View File

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl -p dig
#!nix-shell -i bash -p curl -p dig -p iputils
set -eu
echo "this script will check that uninsane.org is baseline operational"
@ -18,6 +18,8 @@ curl --silent --fail-with-body https://fed.uninsane.org > /dev/null || echo "htt
nslookup -querytype=TXT _dmarc.uninsane.org. > /dev/null || echo "missing DMARC record for uninsane.org"
ping -c 1 -W 3 servo-hn >/dev/null || echo "servo-hn not pingable"
set +x
echo ""
echo "SUCCESS"