restart services if needed