Searched refs:PID_DIR (Results 1 – 2 of 2) sorted by relevance
24 pub const PID_DIR: &str = "/var/run/bluetooth"; constant285 .add_watch(PID_DIR, inotify::WatchMask::CREATE | inotify::WatchMask::DELETE) in pid_inotify_async_fd()313 let files = config_util::list_pid_files(PID_DIR); in configure_pid()345 Err(_) | Ok(Err(_)) => panic!("Inotify watcher on {} failed.", PID_DIR), in configure_pid()807 let path = std::path::Path::new(PID_DIR).join(&fname); in mainloop()
71 const PID_DIR: &str = "/var/run/bluetooth"; constant1276 let file_name = format!("{}/bluetooth{}.pid", PID_DIR, self.virt_index); in create_pid_file()1284 let file_name = format!("{}/bluetooth{}.pid", PID_DIR, self.virt_index); in remove_pid_file()