pub fn start( watch_dirs: &[PathBuf], db_path: &Path, pid_file: &Path, state_db: &Path, log_file: &Path, ) -> Result<()>