FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
243 views 0 comments
by anonymous
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 anonymous
Hello,

Unfortunately, you still have to manually restart the service.

Best regards.