summaryrefslogtreecommitdiffstats
path: root/esr-core/distribution/standalone/src/main/assembly/bin/stop.bat
diff options
context:
space:
mode:
authorlizi00164331 <li.zi30@zte.com.cn>2017-08-07 11:04:17 +0800
committerlizi00164331 <li.zi30@zte.com.cn>2017-08-07 11:04:17 +0800
commitaba957d99b0d0d21c77d80efe98a3450b6635c1a (patch)
treee8a5991c966560232d6215831ffe08324f5ff6a3 /esr-core/distribution/standalone/src/main/assembly/bin/stop.bat
parent4bcebdf6c7a3cf81a77e1f2931db6d596923b866 (diff)
Upload the ESR server seed code.
Issue-ID: AAI-67 Change-Id: Ie21ae7baebbb2ea8a35d8b51f75b7e21bcb78671 Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
Diffstat (limited to 'esr-core/distribution/standalone/src/main/assembly/bin/stop.bat')
-rw-r--r--esr-core/distribution/standalone/src/main/assembly/bin/stop.bat34
1 files changed, 34 insertions, 0 deletions
diff --git a/esr-core/distribution/standalone/src/main/assembly/bin/stop.bat b/esr-core/distribution/standalone/src/main/assembly/bin/stop.bat
new file mode 100644
index 0000000..170f240
--- /dev/null
+++ b/esr-core/distribution/standalone/src/main/assembly/bin/stop.bat
@@ -0,0 +1,34 @@
+@REM
+@REM Copyright 2016 ZTE Corporation.
+@REM
+@REM Licensed under the Apache License, Version 2.0 (the "License");
+@REM you may not use this file except in compliance with the License.
+@REM You may obtain a copy of the License at
+@REM
+@REM http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing, software
+@REM distributed under the License is distributed on an "AS IS" BASIS,
+@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+@REM See the License for the specific language governing permissions and
+@REM limitations under the License.
+@REM
+
+@echo off
+title stopping extsys-service
+
+set HOME=%~dp0
+set Main_Class="org.openo.commonservice.extsys.ExtsysApp"
+
+echo ================== extsys-service info =============================================
+echo HOME=$HOME
+echo Main_Class=%Main_Class%
+echo ===============================================================================
+
+echo ### Stopping extsys-service
+cd /d %HOME%
+
+for /f "delims=" %%i in ('"%JAVA_HOME%\bin\jcmd"') do (
+ call find_kill_process "%%i" %Main_Class%
+)
+exit \ No newline at end of file