summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-03-06 15:14:21 +0100
committertv <tv@krebsco.de>2022-03-06 17:34:10 +0100
commit3f5851a4bb2b8677d0a969319267b72ade34e09b (patch)
treee6900a5b4d8dd71bfd89ded5bb37a9b898bdd7d0 /krebs
parentdd1584574a454bc628ebadc2be41c93e7cc0418b (diff)
tinc: start tincd using -n
Diffstat (limited to 'krebs')
-rw-r--r--krebs/3modules/tinc.nix3
1 files changed, 1 insertions, 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 <stockholm/lib>;
"${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;
};