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

Tray daemon stop / restart buttons #11

Open
bakkdoor opened this issue Mar 9, 2018 · 3 comments
Open

Tray daemon stop / restart buttons #11

bakkdoor opened this issue Mar 9, 2018 · 3 comments

Comments

@bakkdoor
Copy link
Member

bakkdoor commented Mar 9, 2018

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

@lordi
Copy link
Contributor

lordi commented Mar 14, 2018

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

@bakkdoor
Copy link
Member Author

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

@bakkdoor
Copy link
Member Author

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.

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

No branches or pull requests

2 participants