HM-SPMS/web/stop.bat

11 lines
285 B
Batchfile
Raw Permalink Normal View History

2025-03-12 10:55:01 +08:00
set install_path=%~dp0
cd /d %install_path%
cd ../nginx
echo "<EFBFBD><EFBFBD>ʼֹͣǰ̨<EFBFBD><EFBFBD><EFBFBD><EFBFBD>nginx......."
nginx -s stop
taskkill /F /IM nginx.exe
cd ../
echo "<EFBFBD><EFBFBD>ʼֹͣ<EFBFBD><EFBFBD>̨<EFBFBD><EFBFBD><EFBFBD><EFBFBD>......."
wmic process where "CommandLine Like '%%EMS_NEW-0.0.1-SNAPSHOT.war%%' and name='java.exe'" call terminate
cd %~dp0