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

Docs should warn about quit browser before start/stop daemon ? #305

Open
BillDietrich opened this issue Oct 12, 2021 · 2 comments
Open

Docs should warn about quit browser before start/stop daemon ? #305

BillDietrich opened this issue Oct 12, 2021 · 2 comments

Comments

@BillDietrich
Copy link

I haven't tested this, but I think bad things could happen if PSD is started or stopped while an applicable browser is running. Shouldn't there be a warning in the docs and Wiki saying something like "Quit out of all browsers before starting or stopping the PSD daemon." ? Otherwise the browser could be using a profile and the daemon suddenly tries to move it to somewhere else.

@BillDietrich
Copy link
Author

Okay, thanks. So the code looks like:

  • if starting PSD and a browser is running, refuse to start PSD.

  • if stopping PSD and a browser is running, kill the browser.

I guess the 2nd case must do a kill instead of "refuse to stop PSD" because we could be in the middle of shutting down the system ?

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