From 3f5851a4bb2b8677d0a969319267b72ade34e09b Mon Sep 17 00:00:00 2001 From: tv Date: Sun, 6 Mar 2022 15:14:21 +0100 Subject: tinc: start tincd using -n --- krebs/3modules/tinc.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/krebs/3modules/tinc.nix b/krebs/3modules/tinc.nix index 4feb02d10..fc7b0e8e3 100644 --- a/krebs/3modules/tinc.nix +++ b/krebs/3modules/tinc.nix @@ -260,13 +260,12 @@ with import ; "${cfg.tincPackage}/sbin/tincd" "-D" "-U ${cfg.user.name}" - "-c /etc/tinc/${netname}" "-d 0" + "-n ${netname}" (optionalString (cfg.privkey_ed25519 != null) "-o Ed25519PrivateKeyFile=\${CREDENTIALS_DIRECTORY}/ed25519_key" ) "-o PrivateKeyFile=\${CREDENTIALS_DIRECTORY}/rsa_key" - "--pidfile=/var/run/tinc.${netname}.pid" ]; SyslogIdentifier = netname; }; -- cgit v1.2.3