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

Run server again after stopping it by ServerHandle::stop() #457

Open
hulxv opened this issue Jun 5, 2022 · 2 comments
Open

Run server again after stopping it by ServerHandle::stop() #457

hulxv opened this issue Jun 5, 2022 · 2 comments

Comments

@hulxv
Copy link

hulxv commented Jun 5, 2022

Is there a way to run the server again after stopping it by ServerHandle::stop()?

@hulxv hulxv changed the title Run server after stopping it by ServerHandle::stop() Run server again after stopping it by ServerHandle::stop() Jun 5, 2022
@robjtede
Copy link
Member

robjtede commented Jul 3, 2022

No. What's your use case?

@hulxv
Copy link
Author

hulxv commented Jul 3, 2022

What's your use case?

I built 2 utilities, the first is a daemon and used to serve the HTTP Server, and the other is used to control in HTTP server by sending requests over a Unix domain socket.

I implemented all parts of the pause, resume, and shutdown (or stop).
But after shutdown, I need to re-run the daemon (or program).
So, Is there a way to re-run the HTTP server without re-run the daemon?

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