Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

can't stop and then start via apis #1893

Open
steelbytes opened this issue Mar 7, 2023 · 2 comments
Open

can't stop and then start via apis #1893

steelbytes opened this issue Mar 7, 2023 · 2 comments

Comments

@steelbytes
Copy link

scenario:
I want to stop syncthing while a lot of file manipulation is performed and then start it again. Sounds simple ...

attempt 1:
use broadcast stop and start. This doesn't work because I have 'Start automatically on boot' (like i suspect most people) . I don't understand why you would make such a limit but ok. (https://github.com/Catfriend1/syncthing-android/wiki/Remote-Control-by-Broadcast-Intents)

attempt 2:
use the rest api to post shutdown and then use broadcast start. The rest shutdown works but then the broadcast start doesn't. Only way to start again is to manually force stop syncthing (not just swipe close) and then open syncthing.

attempt 3:
write this github issue :-(

@Catfriend1
Copy link
Contributor

Did you try the wiki article from the official app? https://github.com/syncthing/syncthing-android/wiki/Remote-Control-by-Broadcast-Intents

@steelbytes
Copy link
Author

Did you try the wiki article from the official app? https://github.com/syncthing/syncthing-android/wiki/Remote-Control-by-Broadcast-Intents

YES. which is why I actually mentioned it above.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants