diff options
author | volth <volth@webmaster.ms> | 2017-08-09 22:35:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-09 22:35:20 +0000 |
commit | b32b18631e94ebbb0e6f201db24b6b541b901f89 (patch) | |
tree | b22d8766dda366318bf76b6b89f401037e61f49b /nixos/modules | |
parent | 7e5332c86870336706f51faca50ea5a1b3e9bad5 (diff) | |
download | nixlib-b32b18631e94ebbb0e6f201db24b6b541b901f89.tar nixlib-b32b18631e94ebbb0e6f201db24b6b541b901f89.tar.gz nixlib-b32b18631e94ebbb0e6f201db24b6b541b901f89.tar.bz2 nixlib-b32b18631e94ebbb0e6f201db24b6b541b901f89.tar.lz nixlib-b32b18631e94ebbb0e6f201db24b6b541b901f89.tar.xz nixlib-b32b18631e94ebbb0e6f201db24b6b541b901f89.tar.zst nixlib-b32b18631e94ebbb0e6f201db24b6b541b901f89.zip |
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.
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/tinc.nix | 1 |
1 files changed, 0 insertions, 1 deletions
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"; }; |