Browse Source

Consider ZEROTIER_JOIN_NETWORKS in healthcheck (#1978)

pull/4/head
Stavros Kois 3 years ago committed by GitHub
parent
commit
33b2e6a856
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      entrypoint.sh.release

2
entrypoint.sh.release

@ -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

Loading…
Cancel
Save