From f6c5a726deb13d3d74326c70db1985e817f581a4 Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 10 Jul 2022 16:18:20 +0100 Subject: [PATCH] nixos/estuary: Use ndisc6 instead of ping for keepalive thing --- nixos/boxes/colony/vms/estuary/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/nixos/boxes/colony/vms/estuary/default.nix b/nixos/boxes/colony/vms/estuary/default.nix index 394e89b..631693e 100644 --- a/nixos/boxes/colony/vms/estuary/default.nix +++ b/nixos/boxes/colony/vms/estuary/default.nix @@ -83,7 +83,12 @@ enable = true; requires = [ waitOnline ]; after = [ waitOnline ]; - serviceConfig.ExecStart = "${pkgs.iputils}/bin/ping -n -i 10 2600::"; + script = '' + while true; do + ${pkgs.ndisc6}/bin/ndisc6 ${assignments.internal.ipv6.gateway} wan + sleep 10 + done + ''; wantedBy = [ "multi-user.target" ]; }; };