Skip to main content

handle_service_start

Function handle_service_start 

Source
pub async fn handle_service_start(
    config_services: &[String],
    name: Option<String>,
    daemon: bool,
    explicit_config: Option<&Path>,
    iroh_required: bool,
) -> Result<()>
Expand description

Handle service start (non-foreground) - Start via systemd or spawn

explicit_config is the operator’s canonical absolute --config selector (CLI value or the HYPRSTREAM_CONFIG env selector); iroh_required is the loaded config’s native-network profile. Required-native or custom-config starts never select an installed systemd unit — those units encode their own stored configuration and cannot receive this process’s configuration — and are routed to the direct launch path instead.