This is an automated email from the ASF dual-hosted git repository.

lta pushed a commit to branch Sync-Reconstruct
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git


The following commit(s) were added to refs/heads/Sync-Reconstruct by this push:
     new d327c97  modify shell scripts about sync
d327c97 is described below

commit d327c97b06ad9cfbba92e1da38f2947a4debd46b
Author: lta <[email protected]>
AuthorDate: Mon Mar 18 11:08:41 2019 +0800

    modify shell scripts about sync
---
 iotdb/iotdb/bin/stop-sync-client.bat | 2 +-
 iotdb/iotdb/bin/stop-sync-client.sh  | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/iotdb/iotdb/bin/stop-sync-client.bat 
b/iotdb/iotdb/bin/stop-sync-client.bat
index 698bbbc..723718d 100755
--- a/iotdb/iotdb/bin/stop-sync-client.bat
+++ b/iotdb/iotdb/bin/stop-sync-client.bat
@@ -20,4 +20,4 @@
 @echo off
 
 wmic process where (commandline like "%%SyncClient%%" and not name="wmic.exe") 
delete
-rem ps ax | grep -i 'postBackClient' | grep -v grep | awk '{print $1}' | xargs 
kill -SIGTERM
\ No newline at end of file
+rem ps ax | grep -i 'SyncClient' | grep -v grep | awk '{print $1}' | xargs 
kill -SIGTERM
\ No newline at end of file
diff --git a/iotdb/iotdb/bin/stop-sync-client.sh 
b/iotdb/iotdb/bin/stop-sync-client.sh
index 6e95455..61bbd23 100755
--- a/iotdb/iotdb/bin/stop-sync-client.sh
+++ b/iotdb/iotdb/bin/stop-sync-client.sh
@@ -19,12 +19,12 @@
 #
 
 
-PIDS=$(ps ax | grep -i 'postBackClient' | grep java | grep -v grep | awk 
'{print $1}')
+PIDS=$(ps ax | grep -i 'SyncClient' | grep java | grep -v grep | awk '{print 
$1}')
 
 if [ -z "$PIDS" ]; then
-  echo "No post back Client to stop"
+  echo "No sync client to stop"
   exit 1
 else 
   kill -s TERM $PIDS
-  echo "close SyncClient"
+  echo "close sync client"
 fi

Reply via email to