diff options
author | YuanHu <yuan.hu1@zte.com.cn> | 2018-02-13 11:22:10 +0800 |
---|---|---|
committer | YuanHu <yuan.hu1@zte.com.cn> | 2018-02-13 11:22:10 +0800 |
commit | 23ade91cd5c18af93a6fc529f003b124fb6d0a6a (patch) | |
tree | bdf78dee9e7333f6c5cdf8e9c53837947349acd2 /distribution/src/main/assembly/bin/find_kill_process.bat | |
parent | eda616413ac42769d8fb11c990b61c74740b6818 (diff) |
Setup and Publish Backend Service.
Setup backend service with dropwizard application framework.
Integrate backend with frontend to one micro-service.
Issue-ID: SDC-408
Change-Id: Ia6949302ee7c7ad6a4ce31e263f6a38183adfee3
Signed-off-by: YuanHu <yuan.hu1@zte.com.cn>
Diffstat (limited to 'distribution/src/main/assembly/bin/find_kill_process.bat')
-rw-r--r-- | distribution/src/main/assembly/bin/find_kill_process.bat | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/distribution/src/main/assembly/bin/find_kill_process.bat b/distribution/src/main/assembly/bin/find_kill_process.bat new file mode 100644 index 00000000..6e08993f --- /dev/null +++ b/distribution/src/main/assembly/bin/find_kill_process.bat @@ -0,0 +1,20 @@ +@REM
+@REM Copyright (c) 2017 ZTE Corporation.
+@REM All rights reserved. This program and the accompanying materials
+@REM are made available under the terms of the Eclipse Public License v1.0
+@REM and the Apache License 2.0 which both accompany this distribution,
+@REM and are available at http://www.eclipse.org/legal/epl-v10.html
+@REM and http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Contributors:
+@REM ZTE - initial API and implementation and/or initial documentation
+@REM
+
+echo %1 | findstr %2 >NUL
+echo ERRORLEVEL=%ERRORLEVEL%
+IF ERRORLEVEL 1 goto findend
+for /f "tokens=1" %%a in (%1) do (
+ echo kill %1
+ taskkill /F /pid %%a
+)
+:findend
\ No newline at end of file |