make xl2tpd quit when the connections close

This commit is contained in:
Daniel Barlow
2024-07-08 20:29:48 +01:00
parent 8f0ab5be40
commit 159bfa3057
3 changed files with 62 additions and 2 deletions

View File

@@ -44,8 +44,9 @@ let
require authentication = no
pppoptfile = ${writeText "ppp-options" ppp-options'}
autodial = yes
redial = no
max redials = 1
redial = yes
redial timeout = 1
max redials = 2 # this gives 1 actual retry, as xl2tpd can't count
'';
control = "/run/xl2tpd/control-${name}";
in