This is an automated email from the ASF dual-hosted git repository. arshad pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/seatunnel-web.git
The following commit(s) were added to refs/heads/main by this push: new 0fb6a65f [Bug] [Seatunnel-web] Fix status always not runnning (#246) 0fb6a65f is described below commit 0fb6a65f1697028c7f7982c16fcc6e2c548b7e6b Author: xiaochen <598457...@qq.com> AuthorDate: Mon Dec 9 15:48:10 2024 +0800 [Bug] [Seatunnel-web] Fix status always not runnning (#246) --- .../src/main/bin/seatunnel-backend-daemon.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/seatunnel-server/seatunnel-app/src/main/bin/seatunnel-backend-daemon.sh b/seatunnel-server/seatunnel-app/src/main/bin/seatunnel-backend-daemon.sh index d73b0637..98506c8d 100755 --- a/seatunnel-server/seatunnel-app/src/main/bin/seatunnel-backend-daemon.sh +++ b/seatunnel-server/seatunnel-app/src/main/bin/seatunnel-backend-daemon.sh @@ -35,7 +35,7 @@ check() { # start start() { - echo "starting seatunnel..." + echo "starting seatunnel-web..." check @@ -58,27 +58,27 @@ start() { -cp "$WORKDIR/../conf":"$WORKDIR/../libs/*":"$WORKDIR/../datasource/*" \ $SPRING_OPTS \ org.apache.seatunnel.app.SeatunnelApplication >> "${LOGDIR}/seatunnel.out" 2>&1 & - echo "seatunnel started" + echo "seatunnel-web started" } # stop stop() { - echo "stopping seatunnel..." + echo "stopping seatunnel-web..." pid=$(jcmd | grep -i 'org.apache.seatunnel.app.SeatunnelApplication' | grep -v grep | awk '{print $1}') if [ -n "$pid" ]; then kill -15 $pid - echo "seatunnel stopped" + echo "seatunnel-web stopped" else - echo "seatunnel is not running" + echo "seatunnel-web is not running" fi } #status status() { - pid=$(jcmd | grep -i 'seatunnel-app-.*jar' | grep -v grep | awk '{print $1}') + pid=$(jcmd | grep -i 'org.apache.seatunnel.app.SeatunnelApplication' | grep -v grep | awk '{print $1}') if [ -n "$pid" ]; then - echo "seatunnel is running" + echo "seatunnel-web is running" else - echo "seatunnel is not running" + echo "seatunnel-web is not running" fi }