mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-04-01 04:48:28 +00:00
Use extract-pid when killing, too
This commit is contained in:
parent
7a9f74de80
commit
fcddec532a
@ -113,13 +113,7 @@
|
|||||||
<target name="stop-external-cluster" if="integ.pidfile.exists">
|
<target name="stop-external-cluster" if="integ.pidfile.exists">
|
||||||
<local name="integ.pid"/>
|
<local name="integ.pid"/>
|
||||||
|
|
||||||
<!-- read contents of the pid file -->
|
<extract-pid property="integ.pid"/>
|
||||||
<loadfile srcFile="${integ.pidfile}" property="integ.pid">
|
|
||||||
<filterchain>
|
|
||||||
<striplinebreaks/>
|
|
||||||
</filterchain>
|
|
||||||
</loadfile>
|
|
||||||
|
|
||||||
<echo>Shutting down external cluster PID ${integ.pid}</echo>
|
<echo>Shutting down external cluster PID ${integ.pid}</echo>
|
||||||
|
|
||||||
<exec executable="taskkill" failonerror="true" osfamily="winnt">
|
<exec executable="taskkill" failonerror="true" osfamily="winnt">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user