Browse Source

bundles/wireguard: do not run wg_health_check during bw apply

main
Franzi 4 days ago
parent
commit
095d425de1
Signed by: kunsi GPG Key ID: 12E3D2136B818350
  1. 7
      bundles/wireguard/files/wg_health_check

7
bundles/wireguard/files/wg_health_check

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

Loading…
Cancel
Save