summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-10-07 19:12:27 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-10-07 19:12:27 -0400
commit94a649ef0a53d905211b34d36378ebd6667d23e2 (patch)
treeb842e065d0c22e6fbbe898fe418f4b8470f2626a /modules
parent128b56dd7bd1259a1ea03b6d53b2470cf2057293 (diff)
fix
Diffstat (limited to 'modules')
-rw-r--r--modules/router.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/router.nix b/modules/router.nix
index 5018375..b1d1441 100644
--- a/modules/router.nix
+++ b/modules/router.nix
@@ -370,6 +370,8 @@ in {
enable = true;
configFile = "/opt/secret/he-ddclient.conf";
};
+ systemd.services.ddclient.preStart =
+ "while ! ping -c 1 -n -w 1 dragon.orbekk.com > /dev/null; do echo .; done";
systemd.services.ddclient.after = ["container@router.target"];
systemd.timers.update-dynamic-dns = {