dockerfile/examples/papermc/velocity/alpine/entrypoint.sh

12 lines
826 B
Bash
Raw Permalink Normal View History

#!/bin/bash
echo '===================================================================================================='
echo `date +%Y-%m-%d` `date +%H:%M:%S`
echo '============================== 开始启动 PaperMC Velocity...... =============================='
echo 'PaperMC Velocity 版本号:' $PAPERMC_VELOCITY_VERSION
echo 'PaperMC Velocity 工作目录:' $PAPERMC_VELOCITY_HOME
echo 'PaperMC Velocity 监听端口25577'
echo '数据文件目录:' $PAPERMC_VELOCITY_DATA_DIR
echo '----------------------------------------------------------------------------------------------------'
java -Xms1G -Xmx1G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -XX:MaxInlineLevel=15 -jar $PAPERMC_VELOCITY_HOME/velocity-$PAPERMC_VELOCITY_VERSION.jar