Skip to main content

start

Function start 

Source
pub async fn start(
    cm: &ContainerManager,
    spec: &Spec,
    only_if_kept: bool,
) -> Result<(), String>
Expand description

Start spec’s command unless the server is listening already or was started within the startup wait. With only_if_kept (a restore), nothing is started once the agent has dropped the project or replaced its registration, however long this waited.