pub fn initialize_run_dir(run_dir: &Path) -> bool {
    let mut success = true;
    let socket_dir = unix_socket_dir(run_dir);
    log::trace!("Unix socket directory: {:?}", socket_dir);
    if let Err(err) = fs::create_dir_all(&socket_dir) {
        log::error!("Failed to create unix socket directory: {}", err);
        success = false;
    }
    success
}
/// Create the subdirectories expected to exist in the run directory
Create the subdirectories expected to exist in the run directory
Create the subdirectories expected to exist in the run directory
pub fn initialize_run_dir(run_dir: &Path) -> bool {
    let mut success = true;
    let socket_dir = unix_socket_dir(run_dir);
    log::trace!("Unix socket directory: {:?}", socket_dir);
    if let Err(err) = fs::create_dir_all(&socket_dir) {
        log::error!("Failed to create unix socket directory: {}", err);
        success = false;
    }
    success
}
pub fn initialize_run_dir ( run_dir : & Path ) -> bool { let mut success = true ; let socket_dir = unix_socket_dir ( run_dir ) ; log :: trace ! ( " " socket_dir ) ; if let Err ( err ) = fs :: create_dir_all ( & socket_dir ) { log :: error ! ( " " err ) ; success = false ; } success }
Create the subdirectories expected to exist in the run directory
Create the subdirectories expected to exist in the run directory
run_dir
&Path
run_dir
&Path