desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Tray daemon stop / restart buttons

Open bakkdoor opened this issue 7 years ago • 3 comments

Currently the daemon doesn't stop or get restarted. Need to fix that.

bakkdoor avatar Mar 09 '18 07:03 bakkdoor

BTW For in-app daemon management, I did some work for this at https://github.com/syncrypt/elm-desktop/tree/daemon-management

lordi avatar Mar 14 '18 17:03 lordi

Can you merge that into master (or finish it and then merge into master)?

bakkdoor avatar Mar 14 '18 17:03 bakkdoor

We should hook into the daemon API correctly for starting/stopping/restarting the daemon here: https://github.com/syncrypt/elm-desktop/blob/master/static/main.js#L24-L60

I noticed that when the daemon is started directly by the desktop client then the stop/restart buttons work as expected, but if the daemon is started outside of the desktop client (or e.g. by an older version of the desktop client) the buttons don't work anymore. Both stopping and restarting the daemon fails. We should make sure this works regardless of how the daemon process was started.

bakkdoor avatar Mar 14 '18 17:03 bakkdoor