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"