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:
@@ -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
|
||||
|
Reference in New Issue
Block a user