From ac551536da1c4866bd4383598665f36e5d9aa8a5 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Mon, 8 Jul 2024 21:03:29 +0100 Subject: [PATCH] set cwd before exec xl2tpd --- modules/ppp/l2tp.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ppp/l2tp.nix b/modules/ppp/l2tp.nix index 8a3ed26..8e20630 100644 --- a/modules/ppp/l2tp.nix +++ b/modules/ppp/l2tp.nix @@ -59,6 +59,7 @@ longrun { run = '' mkdir -p /run/xl2tpd touch ${control} + in_outputs $name exec ${xl2tpd}/bin/xl2tpd -D -p /run/xl2tpd/${name}.pid -c ${conf} -C ${control} ''; notification-fd = 10;