syncthing / syncthing-macos

Official frugal and native macOS Syncthing application bundle
https://syncthing.net
MIT License
2.76k stars 148 forks source link

Port change is not reflected in usage of Syncthing (manual restart is needed) #198

Open ineiti opened 1 year ago

ineiti commented 1 year ago

On my mac I have two syncthing instances, one for each user. So I changed the port of one of the instances in order for them to run in parallel. Now the following happens for the syncthing with the changed port:

xor-gate commented 1 year ago

you need to click on the icon -> Preferences -> enter the URI -> click test. Then close syncthing and restart it. Then the non default port should be used. Keep in mind you should also set the API key based on the instance.

ineiti commented 1 year ago

OK, seems I didn't quit and start Syncthing again.

xor-gate commented 1 year ago

Reopened because we should at least document this behaviour. And probably we should fix it so it is live changed and it doesn't need restarted. For my own administration: this behaviour is probably due to the default functionality and syncthing daemon background process are not synced when updating. Then the background process should be stopped/killed and then started again after the change and given the new setting.

ineiti commented 1 year ago

There might be other configuration changes that need to be reloaded, no? So perhaps for every configuration change, do this reloading of the daemon.

xor-gate commented 1 year ago

Exactly, like the environment variables and the hidden commandline arguments.