“Girls” may have its fate cut out for it, but Judd Apatow will be staying in business with HBO, as the premium cabler has given a series order to his comedy “Crashing,” which is written by star Pete HolmesVariety has confirmed.

The half-hour laffer, toplined by Holmes, is about a sweet, wholesome comedian who when his wife leaves him, has nowhere to stay but on the couches of New York’s finest comics.

The pilot, which was ordered this past September, was penned by Holmes and directed by Apatow. The duo will both serve as exec producers on the series, first reported by Deadline. Dave Rath, Josh Church and Igor Srubshchik are producers, and Oren Brimer is a co-producer.

Apatow is staying busy these days with “Girls” entering its fifth season on Feb. 21 on HBO this year. Recently announced, the Lena Dunham-created show will wrap up after six seasons, and Apatow teased plans for the series’ ending. He also created Netflix’s romantic comedy “Love,” which launches the same weekend as “Girls” on Feb. 19. Over at Netflix, Apatow is also producing Pee-wee Herman’s return with the streaming movie launching on March 18.Apatow is with UTA, Mosaic and Ziffren Brittenham. Holmes is repped by WME and Generate. The comedian previously had his own self-titled late-night show on TBS, “The Pete Holmes Show,” which ran for two seasons.