Skip to content

Commit

Permalink
change seatunnel to seatunnel-web
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaochen-zhou committed Dec 9, 2024
1 parent 8e8c789 commit 9772380
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ check() {

# start
start() {
echo "starting seatunnel..."
echo "starting seatunnel-web..."

check

Expand All @@ -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 '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
}

Expand Down

0 comments on commit 9772380

Please sign in to comment.