summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-12-08 17:19:59 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-12-08 17:19:59 +0100
commit6d7310a14f288e33fa96733946ad6990687e44f9 (patch)
tree1097540ac6d6476e461b8a4137f621033b416b52
parenteea1980adc1eb8c4afbcc2445140ded761abd1ec (diff)
downloadnixos-6d7310a14f288e33fa96733946ad6990687e44f9.tar
nixos-6d7310a14f288e33fa96733946ad6990687e44f9.tar.gz
nixos-6d7310a14f288e33fa96733946ad6990687e44f9.tar.bz2
nixos-6d7310a14f288e33fa96733946ad6990687e44f9.tar.xz
nixos-6d7310a14f288e33fa96733946ad6990687e44f9.zip
pppd@vidhar: pidfile
-rw-r--r--hosts/vidhar/dsl.nix1
1 files changed, 1 insertions, 0 deletions
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 {
39 }; 39 };
40 systemd.services."pppd-telekom".serviceConfig = lib.mkForce { 40 systemd.services."pppd-telekom".serviceConfig = lib.mkForce {
41 Type = "forking"; 41 Type = "forking";
42 PIDFile = "/run/pppd/${pppInterface}.pid";
42 ExecStart = "${lib.getBin pkgs.ppp}/sbin/pppd call telekom updetach nolog +ipv6"; 43 ExecStart = "${lib.getBin pkgs.ppp}/sbin/pppd call telekom updetach nolog +ipv6";
43 Restart = "always"; 44 Restart = "always";
44 RestartSec = 5; 45 RestartSec = 5;