Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants