Skip to main content

write_systemd_unit

Function write_systemd_unit 

Source
pub async fn write_systemd_unit(
    dir: &Path,
    config: &SystemdUnitConfig,
) -> Result<PathBuf>
Expand description

Renders config and writes it to dir/<unit_name>.service, returning the written path.