Way to pragrammatically start Syncthing under SyncTrayzor
See original GitHub issueIt’s sometimes required to free up memory for some “heavy” process (be physical model emulation or game). One can send API request (POST /rest/system/shutdown
) to stop Syncthing. But how to restart it after process is completed (programmatically)? After running “raw” Syncthing SyncTrayzor doesn’t catch-up it’s status (and obviously can’t see logs).
It would be very useful to be able to send some control event to SyncTrayzor.
Possible solutions:
- Easiest:
RegisterWindowMessage
- Best: When Syncthing is down open same TCP port and accept several REST endpoints (using same API key from config file) and close this port before starting Syncthing itself.
- Portable: Use separate port for API.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Starting Syncthing Automatically
Run at user log on or at system startup using Task Scheduler ... Enter the path to the parent folder of syncthing.exe in...
Read more >SyncTrayzor: Start / Stop Sync Command in the latest ...
Hello friends, I'm new here. I noticed that in the last update there is the news: "- Add command-line parameters to start and...
Read more >Starting and stopping Syncthing/Synctrayzor in Windows ...
I have set up Task Scheduler in windows to execute "synctrayzor.exe --start-syncthing" at night and then "synctrayzor.exe --shutdown" in the ...
Read more >SyncTrayzor: Windows host for Syncthing. Installer, auto- ...
Installation using an installer; Automatically start on login; Remove the need to open an external browser to interact with Syncthing.
Read more >SyncTrayzor to run on system power up instead of user login
The problem I have is SyncTrayzor always expects to start Syncthing. If Syncthing is already running it doesnt show that and instead throws ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@canton7 Excellent! Works for me.
Right, I’ve got something in. It’s available in the intermediate build here: https://ci.appveyor.com/project/canton7/synctrayzor/build/1.1.14.441/artifacts
Mind trying it out, see if it works for you?