server-starter-listener-rs
Get Server::Starter listeners for rust application
This crate providers start_server / start_server listeners for rust server applications.
Examples
use ;
use ;
let listener = listeners.unwrap.pop.unwrap;
match listener
You need to start application using start_server / start_server.
> start_server --port=80
Now you can do hot-deploy by send SIGHUP
to start_server
process.
start_server
share file descriptor to new process and send SIGTERM
to old process.
Some additional info here
License: MIT OR Apache-2.0