nixos/estuary: Use ndisc6 instead of ping for keepalive thing

This commit is contained in:
Jack O'Sullivan 2022-07-10 16:18:20 +01:00
parent 3d49672740
commit f6c5a726de

View File

@ -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" ];
};
};