arshadmohammad commented on code in PR #246:
URL: https://github.com/apache/seatunnel-web/pull/246#discussion_r1874994388


##########
seatunnel-server/seatunnel-app/src/main/bin/seatunnel-backend-daemon.sh:
##########
@@ -74,7 +74,7 @@ stop() {
 
 #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}')

Review Comment:
   Nice catch, @xiaochen-zhou. 
   Could you also make additional modifications by changing seatunnel to 
seatunnel-web?
   like below
   ```
   if [ -n "$pid" ]; then
       echo "seatunnel-web is running"
     else
       echo "seatunnel-web is not running"
     fi
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to