Skip to main content

install_ecosystem_services

Function install_ecosystem_services 

Source
pub fn install_ecosystem_services(
    runner: &dyn ProcessRunner,
    bins: &LocalBins,
    install_dir: &Path,
    choice: EcosystemInstallChoice,
) -> Result<Option<String>>
Expand description

Install selected ecosystem bins into install_dir and enable chosen units.

Always copies CLI + TUI. Copies status-api / MCP and enables units per choice. Intended for embedded full apply (already root). Writes units and api.env under the real host /etc.

ยงErrors

Returns crate::HortoError when install or systemctl fails.