pub fn write_unit_file( filename: &str, directory: &Path, content: &str, ) -> Result<PathBuf, UnitWriteError>