run restart hooks in each unit