pub fn install_service(
dry_run: bool,
force: bool,
manager: Option<ServiceManager>,
) -> Result<()>Expand description
Install the agent as a system service.
Args:
dry_run: If true, print the service file without installing.force: If true, overwrite an existing service file.manager: Service manager to use, or auto-detect ifNone.
Usage:
ⓘ
install_service(false, false, None)?;