commit ac551536da1c4866bd4383598665f36e5d9aa8a5
parent 6f908156afcdef9e99b90a0b7d529a7815d21d44
Author: Daniel Barlow <dan@telent.net>
Date: Mon, 8 Jul 2024 21:03:29 +0100
set cwd before exec xl2tpd
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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;