From eea1980adc1eb8c4afbcc2445140ded761abd1ec Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 8 Dec 2021 17:18:00 +0100 Subject: pppd@vidhar: wait for up --- hosts/vidhar/dsl.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hosts/vidhar') diff --git a/hosts/vidhar/dsl.nix b/hosts/vidhar/dsl.nix index 1651284c..5f53df87 100644 --- a/hosts/vidhar/dsl.nix +++ b/hosts/vidhar/dsl.nix @@ -38,7 +38,8 @@ in { ''; }; systemd.services."pppd-telekom".serviceConfig = lib.mkForce { - ExecStart = "${lib.getBin pkgs.ppp}/sbin/pppd call telekom nodetach nolog +ipv6"; + Type = "forking"; + ExecStart = "${lib.getBin pkgs.ppp}/sbin/pppd call telekom updetach nolog +ipv6"; Restart = "always"; RestartSec = 5; -- cgit v1.2.3