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.
pub async fn write_systemd_unit(
dir: &Path,
config: &SystemdUnitConfig,
) -> Result<PathBuf>Renders config and writes it to dir/<unit_name>.service, returning the
written path.