Fix failing tests due to changes in SystemdService#restart