Danilo Petrucci will stay at Barni Ducati for the 2024 WorldSBK campaign after signing a new one-year deal.