Ursache: Die Beendigung dieses Prozesses muss erzwungen werden
(mit der Option /F).
FEHLER: Der Prozess "syncthing.exe" mit PID 3212 konnte nicht beendet werden.
Ursache: Die Beendigung dieses Prozesses muss erzwungen werden
(mit der Option /F).```
The message says:
- ERROR: The process could not be stopped.
- Reason: You have to force stopping this process (with option /F).
Is there any other simple command line to gracefully stop syncthing on windows?
But it did not immediately work for me due to some slightly different setup:
I use HTTPS only with a self-signed certificate.
Thus i had to use THIS command instead:
curl -v -k -X POST -H X-API-Key:MY-API-KEY https://localhost:8384/rest/system/shutdown
Changed http to https
Added -k to bypass the serious SSL-checks and just accept the self-signed certificate
Added -v for verbose mode, for better debugging (optional)
FUN FACT (bug in the forum?):
It is impossible to post a single-line-code-block which starts with “curl”. But CURL works. Oh and " curl" works too: curl (even looks like no space).
When you try to do so the forum will not save your post without any error message … there is just the “Saving (spinner)”.