def disable_service_by_unit_id(self, unit_id):
    service = self.db.find(unit_id=unit_id)
    if (len(service) > 0):
        service_name = service[0]['service']
        print('service to disable is :{}'.format(service_name))
        self.disable_service(service_name)
    else:
        print("Can't find service by unit_id:{}".format(unit_id))
def disable_service_by_unit_id(self, unit_id):
    service = self.db.find(unit_id=unit_id)
    if (len(service) > 0):
        service_name = service[0]['service']
        print('service to disable is :{}'.format(service_name))
        self.disable_service(service_name)
    else:
        print("Can't find service by unit_id:{}".format(unit_id))