private boolean startModule(ModuleConfig module) {
        LOGGER.info("start module {}({}) with cmd {}", module.getId(), module.getName(), module.getStartCommand());
        for (int i = 0; i < module.getProcessesNum(); i++) {
            String ret = ExcuteLinux.exeCmd(module.getStartCommand());
            LOGGER.info("start module {}({}) proc[{}] return {} ", module.getId(), module.getName(), i, ret);
        }
        if (isProcessAllStarted(module, CHECK_PROCESS_TIMES)) {
            LOGGER.info("start module {}({}) success", module.getId(), module.getName());
            return true;
        } else {
            LOGGER.info("start module {}({}) failed", module.getId(), module.getName());
            return false;
        }
    }
Thread for core thread.

@return runnable profile.
inlong-agent/agent-installer/src/main/java/org/apache/inlong/agent/installer/ModuleManager.java