Wrong process name in shutdown script.

Project: http://git-wip-us.apache.org/repos/asf/vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/vxquery/commit/6c901935
Tree: http://git-wip-us.apache.org/repos/asf/vxquery/tree/6c901935
Diff: http://git-wip-us.apache.org/repos/asf/vxquery/diff/6c901935

Branch: refs/heads/site
Commit: 6c90193572864e9615578a34b5f649e29ee10075
Parents: e497697
Author: Preston Carman <[email protected]>
Authored: Thu Jun 19 13:55:55 2014 -0700
Committer: Preston Carman <[email protected]>
Committed: Thu Jun 19 13:55:55 2014 -0700

----------------------------------------------------------------------
 vxquery-server/src/main/resources/scripts/stopcc.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/vxquery/blob/6c901935/vxquery-server/src/main/resources/scripts/stopcc.sh
----------------------------------------------------------------------
diff --git a/vxquery-server/src/main/resources/scripts/stopcc.sh 
b/vxquery-server/src/main/resources/scripts/stopcc.sh
index 31e0ac9..3290ec6 100755
--- a/vxquery-server/src/main/resources/scripts/stopcc.sh
+++ b/vxquery-server/src/main/resources/scripts/stopcc.sh
@@ -23,7 +23,7 @@ USER=$1
 
 #Kill process
 #Kill process
-PID=`ps -ef|grep ${USER}|grep java|grep 'Dapp.name=pregelixcc'|awk '{print 
$2}'`
+PID=`ps -ef|grep ${USER}|grep java|grep 'Dapp.name=vxquerycc'|awk '{print $2}'`
 
 if [ "$PID" == "" ]; then
     PID=`ps -ef|grep ${USER}|grep java|grep 'hyracks'|awk '{print $2}'`
@@ -31,7 +31,7 @@ fi
 
 if [ "$PID" == "" ]; then
     USERID=`id | sed 's/^uid=//;s/(.*$//'`
-    PID=`ps -ef|grep ${USERID}|grep java|grep 'Dapp.name=pregelixcc'|awk 
'{print $2}'`
+    PID=`ps -ef|grep ${USERID}|grep java|grep 'Dapp.name=vxquerycc'|awk 
'{print $2}'`
 fi
 
 echo $PID

Reply via email to