RuoYi-Cloud/bin/run-gateway.bat

18 lines
378 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
@REM 后续命令使用的是UTF-8编码
chcp 65001
echo '... ...'
echo 'start module [gateway]'
echo '[信息] 运行gateway工程。'
echo '... ...'
cd %~dp0
cd ../ruoyi-gateway/target
set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=512m
java -Dfile.encoding=utf-8 -jar %JAVA_OPTS% ruoyi-gateway.jar
cd bin
pause