You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by he...@apache.org on 2022/03/09 12:36:47 UTC
[incubator-inlong] branch master updated: [INLONG-3022][Agent] Fix the agent pod start error (#3023)
This is an automated email from the ASF dual-hosted git repository.
healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new cd8a1fd [INLONG-3022][Agent] Fix the agent pod start error (#3023)
cd8a1fd is described below
commit cd8a1fd6f373f611b6ddfab7e24774059bd1018d
Author: dockerzhang <do...@tencent.com>
AuthorDate: Wed Mar 9 20:36:44 2022 +0800
[INLONG-3022][Agent] Fix the agent pod start error (#3023)
---
inlong-agent/agent-docker/agent-docker.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/inlong-agent/agent-docker/agent-docker.sh b/inlong-agent/agent-docker/agent-docker.sh
index c024339..3fbe910 100644
--- a/inlong-agent/agent-docker/agent-docker.sh
+++ b/inlong-agent/agent-docker/agent-docker.sh
@@ -32,7 +32,7 @@ agent.prometheus.enable=true
agent.prometheus.exporter.port=8080
EOF
# start
-sh ${file_path}/bin/agent.sh start
+bash +x ${file_path}/bin/agent.sh start
sleep 3
# keep alive
tail -F ${file_path}/logs/agent.log
\ No newline at end of file