def METHOD_NAME(service):
    controller = geninfo_lookup('SERVICE_CONTROLLER')
    # systemctl
    if (controller.endswith('systemctl')):
        return check_sys_systemctl(service, controller)
    # invoke-rc.d
    elif (controller.endswith('invoke-rc.d')):
        return check_sys_invoke_rc(service, controller)
    # service
    elif (controller.endswith('service')):
        return check_sys_service(service, controller)
    # no service controller
    else:
        return ERR_SERVICE_CONTROLLER