13 lines
590 B
Batchfile
13 lines
590 B
Batchfile
|
|
set install_path=%~dp0
|
|||
|
|
cd /d %install_path%
|
|||
|
|
cd nginx
|
|||
|
|
echo "<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ǰ̨<EFBFBD><EFBFBD><EFBFBD><EFBFBD>nginx......."
|
|||
|
|
nginx -s stop
|
|||
|
|
taskkill /F /IM nginx.exe
|
|||
|
|
start nginx.exe
|
|||
|
|
cd ../
|
|||
|
|
echo "<EFBFBD><EFBFBD>ʼ<EFBFBD><EFBFBD><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
|
|||
|
|
ping 127.0.0.1 -n 2
|
|||
|
|
java -Dfile.encoding=utf-8 -jar -Xms512m -Xmx2024m EMS_NEW-0.0.1-SNAPSHOT.war -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8011 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -XX:+HeapDumpOnOutOfMemoryError
|
|||
|
|
cd %~dp0
|