From 63c5db388cf7532e6ad413088edbdc2a8b80a7e3 Mon Sep 17 00:00:00 2001 From: Pil0tXia Date: Tue, 19 Dec 2023 03:43:44 +0800 Subject: [PATCH] Generate pid file under /bin in docker --- eventmesh-runtime/bin/start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eventmesh-runtime/bin/start.sh b/eventmesh-runtime/bin/start.sh index 0c7ce5c61c..96fac20989 100644 --- a/eventmesh-runtime/bin/start.sh +++ b/eventmesh-runtime/bin/start.sh @@ -104,7 +104,7 @@ else exit 9; fi -echo "EventMesh using Java location: $JAVA" +echo "EventMesh using Java version: $JAVA_VERSION, path: $JAVA" EVENTMESH_HOME=$(cd "$(dirname "$0")/.." && pwd) export EVENTMESH_HOME @@ -195,6 +195,6 @@ if [ $DOCKER ]; then $JAVA $JAVA_OPT -classpath ${EVENTMESH_HOME}/conf:${EVENTMESH_HOME}/apps/*:${EVENTMESH_HOME}/lib/* $EVENTMESH_MAIN >> ${EVENTMESH_LOG_HOME}/eventmesh.out else $JAVA $JAVA_OPT -classpath ${EVENTMESH_HOME}/conf:${EVENTMESH_HOME}/apps/*:${EVENTMESH_HOME}/lib/* $EVENTMESH_MAIN >> ${EVENTMESH_LOG_HOME}/eventmesh.out 2>&1 & -echo $!>pid.file +echo $!>${EVENTMESH_HOME}/bin/pid.file fi exit 0