Skip to main content

shutdown_package_runtime

Function shutdown_package_runtime 

Source
pub async fn shutdown_package_runtime(
    atlas_endpoint: Option<&str>,
    record: &PackageRuntimeRecord,
    term_wait: Duration,
)
Expand description

Stop one package runtime using the canonical shutdown order: Driver(CMD_SHUTDOWN) -> manifest stop -> TERM PGID -> KILL PGID.