Skip to main content

build_service_definition

Function build_service_definition 

Source
pub fn build_service_definition(
    executable_path: PathBuf,
    cli: &Cli,
) -> ServiceDefinition
Expand description

Build the platform-neutral service definition used by install, pairing the current executable’s path with whichever CLI flags should carry over into the service’s own launch.