From 6d7310a14f288e33fa96733946ad6990687e44f9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 8 Dec 2021 17:19:59 +0100 Subject: pppd@vidhar: pidfile --- hosts/vidhar/dsl.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/vidhar/dsl.nix b/hosts/vidhar/dsl.nix index 5f53df87..e66f609b 100644 --- a/hosts/vidhar/dsl.nix +++ b/hosts/vidhar/dsl.nix @@ -39,6 +39,7 @@ in { }; systemd.services."pppd-telekom".serviceConfig = lib.mkForce { Type = "forking"; + PIDFile = "/run/pppd/${pppInterface}.pid"; ExecStart = "${lib.getBin pkgs.ppp}/sbin/pppd call telekom updetach nolog +ipv6"; Restart = "always"; RestartSec = 5; -- cgit v1.2.3