diff --git a/modules/ppp/l2tp.nix b/modules/ppp/l2tp.nix index 361d032..75afc75 100644 --- 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; }