Darius Posted March 30, 2016 Report Share Posted March 30, 2016 After doing a clean installation on my Rpi 2 I realized that the listening port wasn't saved but every other configuration parameter does. If I manually set it to 45454 (for example) and then I reboot the service a new random port will appear. If I keep restarting the service more and more random ports appear, it never gets fixed. - Every file in "/var/lib/btsync" has the user btsync as owner. - My port will only be fixed if I manually set it in "/etc/btsync/config.json" Quote Link to comment Share on other sites More sharing options...
Remirus Posted March 31, 2016 Report Share Posted March 31, 2016 Darius, by default the option for listening port is set to be random: "listening_port" : 0, If you comment it by "//" symbols Sync won't random it and you'll be able to set listening port in the WebUI. //"listening_port" : 0, Please note that you need to restart Sync service or use SIGTERM signal so it will definitely save settings. Quote Link to comment Share on other sites More sharing options...
Darius Posted March 31, 2016 Author Report Share Posted March 31, 2016 Great!! it works. Maybe there should be a couple of lines explaining it in the config.json file, or maybe that parameter should be commented by default. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.