liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 758c7ef657eab111cf1aafba3f74911de82dd33f
parent 73225a70b2d5854e446a2f6c1102fde89e65485d
Author: Daniel Barlow <dan@telent.net>
Date:   Mon, 13 May 2024 17:51:59 +0100

exec xl2tpd

haven't fully worked out why, but without this s6 is unable to stop it.

Diffstat:
Mmodules/ppp/l2tp.nix | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/ppp/l2tp.nix b/modules/ppp/l2tp.nix @@ -54,10 +54,9 @@ in longrun { inherit name; run = '' - . ${serviceFns} mkdir -p /run/xl2tpd touch ${control} - ${xl2tpd}/bin/xl2tpd -D -p /run/xl2tpd/${name}.pid -c ${conf} -C ${control} + exec ${xl2tpd}/bin/xl2tpd -D -p /run/xl2tpd/${name}.pid -c ${conf} -C ${control} ''; notification-fd = 10; }