From b32b18631e94ebbb0e6f201db24b6b541b901f89 Mon Sep 17 00:00:00 2001 From: volth Date: Wed, 9 Aug 2017 22:35:20 +0000 Subject: [PATCH] nixos/tinc: do not tell systemd where is pidfile ```Tinc```'s pid file has more info than just a pid ``` # cat /run/tinc.dmz.pid 12209 7BD4A657B4A04364D268D188A0F4AA972A05247D802149246BBE1F1E689CABA1 127.0.0.1 port 656 ``` so ```systemd``` fails to parse it. It results in long (re)start times when ```systemd``` waits for a correct pid file to appear. --- nixos/modules/services/networking/tinc.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/services/networking/tinc.nix b/nixos/modules/services/networking/tinc.nix index 7410908b7350..7a786b54ccbb 100644 --- a/nixos/modules/services/networking/tinc.nix +++ b/nixos/modules/services/networking/tinc.nix @@ -166,7 +166,6 @@ in path = [ data.package ]; serviceConfig = { Type = "simple"; - PIDFile = "/run/tinc.${network}.pid"; Restart = "always"; RestartSec = "3"; };