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