pub fn native_service_manager() -> Result<Box<dyn ServiceManager>>Expand description
Attempts to select a native service manager for the current operating system1
- For MacOS, this will use
LaunchdServiceManager - For Windows, this will use
ScServiceManager - For BSD variants, this will use
RcdServiceManager - For Linux variants, this will use either
SystemdServiceManagerorOpenRcServiceManager