8327 questions

9795 answers

15579 comments

13943 members

0 votes
76 views 0 comments
by
Hello,

I am using Zerotier to create a peer-to-peer LAN between different Teltonika devices. There is no problem with that (tested on RUT240 and RUT360).

However, I would like to be able to switch the Zerotier ON and OFF by switching to another profile.

When switching to another profile, the zerotier configuration (/etc/config/zerotier) is correctly replaced however the service is not restarted/reloaded. If I type manually the command "/etc/init.d/zerotier reload" in a SSH shell, the new configuration is correctly applied.

Is there a way to run this command when a profile switch occurs ? I am not been able to find which script is doing the profile switch.

Thank you for your help

1 Answer

0 votes
by
Hello,

Unfortunately, you still have to manually restart the service.

Best regards.