Skip to main content

run_with_deployment

Function run_with_deployment 

Source
pub fn run_with_deployment(
    config_path: &Path,
    config: &ServerConfig,
    deployment: &mut dyn Deployment,
) -> Result<(), ServerError>
Expand description

Runs a validated configuration through the production startup and drain. The deployment owns signal handling and stops its siblings before returning.

ยงErrors

A production lifecycle phase or deployment sibling failed.