Skip to main content

run_with

Function run_with 

Source
pub async fn run_with(
    paths: &Paths,
    proxy_port: TcpPort,
    role: DaemonRole,
) -> Result<()>
Expand description

Like run, but binds the socket under an injectable state layout, listens on an injectable proxy port, and selects operator vs embedded behavior via DaemonRole.

Operator mode requires crate::mark_cli_process: launchd registration and the lease reaper shell out via current_exe, which must be the CLI.