mod restart-services script (only restart if service exists)