Accel-ppp reload / restart

Good evening,
I’m currently testing accel-ppp on debian and on vyos… I would like to hook the restart of the service when interface is added… because instead to restart accel-ppp if conf diff is just and added interface I would like to call accel-cmd to add interface in realtime,without tearing down all clients.

Where I can start to look ?

Just call accel-cmd if you like this :slight_smile:

Hi, I’m studing how “/usr/libexec/vyos/conf_mode/service_ipoe-server.py” work…

In general it gets config dictionary, verify it and generates template for accel-ppp config here vyos-1x/data/templates/accel-ppp/ipoe.config.j2 at current · vyos/vyos-1x · GitHub

After generate it apply it and start/restart accel daemon

The same logic for each config script

1 Like