As many police officers as he’s played on TV and in the movies, Donnie Wahlberg knows a thing or two about cops. So maybe it’s no surprise that Wahlberg, who currently stars in the CBS drama “Blue Bloods,” is set to produce a real-life docu-drama for TNT called “Boston Blue.” According to the network, the show, which will air next year, follows the men and women of the Boston Police Department’s gang unit. TNT has ordered eight episodes. “With ‘Boston Blue,’ we’re looking to grab viewers who come to TNT for such blockbuster originals as ‘The Closer’ and ‘Rizzoli & Isles,’” Michael Wright, president and head of programming for TNT, TBS and Turner Classic Movies, said in a statement. In addition to “Blue Bloods,” Wahlberg has played a police officer in “Rizzoli & Isles,” “Boomtown,” “In Plain Sight,” “The Kill Point,” and the films “Righteous Kill,” “What Doesn’t Kill You,” and “Dead Silence.” Attempts to reach Wahlberg were unsuccessful Wednesday.