代理conf不复制到flume conf目录

时间:2019-07-04 08:29:01

标签: fiware-cygnus

对于docker配置,在cygnus-entrypoint.sh文件中... fiware-cygnus github的最后代码正确吗?因为没有将我的agent.conf文件复制到flume conf目录中。

这是当前代码:

if [ "${CYGNUS_MULTIAGENT,,}" == "false" ]; then
    # and check if SKIP ALL env var
    if [ "${CYGNUS_SKIP_CONF_GENERATION,,}" == "false" ]; then
        cp -p /opt/fiware-cygnus/docker/cygnus-ngsi/multisink_agent.conf
        ${FLUME_HOME}/conf/${AGENT_CONF_FILE}
    fi
fi

应该是吗?:

    cp -p /opt/fiware-cygnus/docker/cygnus-ngsi/agent.conf ${FLUME_HOME}/conf/${AGENT_CONF_FILE}

0 个答案:

没有答案