Skip to main content

render_system_unit

Function render_system_unit 

Source
pub fn render_system_unit(
    op: &Operator,
    exe: &Path,
    env_path: &Path,
    credential: bool,
) -> String
Expand description

The unit. It runs as the operator with their runtime directory, so the socket, state and config are where the CLI looks; it is ordered after the user manager, which creates that directory (lingering starts it at boot).