bundles/wireguard: do not run wg_health_check during bw apply

This commit is contained in:
Franzi 2021-10-14 09:02:01 +02:00
parent 9188b28b7a
commit 095d425de1
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -1,5 +1,12 @@
#!/bin/bash
if [[ -e "/var/lib/bundlewrap/hard-${node.name}/info" ]]
then
# make sure we're not restarting during bw apply
echo "bw apply running"
exit 0
fi
now="$(date +%s)"
everything_up=1