zocker-160/SyncThingy

SyncThingy doesn't start when already running as a service

Closed this issue · 3 comments

Setup: https://dev.to/mrexodia/ffxiv-cloud-saves-on-steam-deck-24k5#syncthing-as-a-service-on-the-steam-deck

This works great and runs Syncthing also in gaming mode (loosely related to #11 I guess). Unfortunately when launching the 'Syncthingy' application in desktop mode it will say 'Starting Syncthingy' and then close. Apparently syncthing-gtk does not have this issue: https://www.reddit.com/r/SteamDeck/comments/vocyi5/comment/j3kjczu/?utm_source=share&utm_medium=web2x&context=3

Yeah this use case is not covered in the code currently.

The application closes on starting, because the port, which syncthing uses, is already blocked (by the other syncthing instance running in the background).

Originally I did not want to support this use case as it does complicate things a lot for just very very few users, which want to have it running as a service, but given the discussion in #11 about supporting Steam Deck more easily, I think it would make sense to support it.

fixed with 3ee12f3 also see #11

Awesome, thanks a lot! I’ll give it a try ASAP