vpn: log a message whenever the endpoint is updated

only as i'm actively working in this area. hopefully this log message can be less noisy in the future
This commit is contained in:
2024-07-06 03:03:38 +00:00
parent 46806e36f0
commit 3c53bca156

View File

@@ -192,6 +192,7 @@ let
unitConfig.StartLimitIntervalSec = 0;
script = ''
while wg set ${name} peer ${publicKey} endpoint ${endpoint}; do
echo "${name} set to:" "$(wg show ${name} endpoints)"
# in the normal case that DNS resolves, and whatnot, sleep before the next attempt
sleep 180
done