Consider ZEROTIER_JOIN_NETWORKS in healthcheck (#1978)

This commit is contained in:
Stavros Kois 2023-07-06 22:45:58 +03:00 committed by GitHub
parent 6540107ccb
commit 33b2e6a856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -107,7 +107,7 @@ log_params "Writing healthcheck for networks:" $@
cat >/healthcheck.sh <<EOF
#!/bin/bash
for i in $@
for i in $@ $ZEROTIER_JOIN_NETWORKS
do
[ "\$(zerotier-cli get \$i status)" = "OK" ] || exit 1
done