Skip to main content

shutdown

Function shutdown 

Source
async fn shutdown()
Expand description

SIGTERM (a task being stopped) and SIGINT end the server; as a container’s first process it has no default for them.