pub fn process_install_shutdown_request_handler() -> Result<ShutdownRequest>Expand description
Ask this host to report shutdown requests.
SIGTERM is what a supervisor or kill sends; SIGINT is Ctrl-C. Both
mean the same thing to a daemon, and both default to terminating it
outright – which is what installing a handler replaces with a request the
process can act on.