Searched refs:PID_DIR (Results 1 – 2 of 2) sorted by relevance
23 pub const PID_DIR: &str = "/var/run/bluetooth"; constant282 .add_watch(PID_DIR, inotify::WatchMask::CREATE | inotify::WatchMask::DELETE) in pid_inotify_async_fd()314 let files = config_util::list_pid_files(PID_DIR); in configure_pid()331 r.await.expect(format!("pid file in {} never became readable", PID_DIR).as_str()); in configure_pid()347 Err(_) | Ok(Err(_)) => panic!("Inotify watcher on {} failed.", PID_DIR), in configure_pid()808 let path = std::path::Path::new(PID_DIR).join(fname); in mainloop()
65 const PID_DIR: &str = "/var/run/bluetooth"; constant1205 let file_name = format!("{}/bluetooth{}.pid", PID_DIR, self.virt_index); in create_pid_file()1213 let file_name = format!("{}/bluetooth{}.pid", PID_DIR, self.virt_index); in remove_pid_file()