Skip to main content

service_unit

Function service_unit 

Source
pub fn service_unit(
    exe: &Path,
    home: &Path,
    config_home: &Path,
    _uid: u32,
) -> Result<ServiceUnit>
Expand description

Build the service definition for this platform (see the macOS variant for the argument contract; uid is unused here - systemd’s --user mode already addresses the calling user’s manager).