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

12 lines
665 B
Bash
Raw Normal View History

#!/bin/bash
echo '===================================================================================================='
echo `date +%Y-%m-%d` `date +%H:%M:%S`
echo '============================== 开始启动 PaperMC Paper...... =============================='
echo 'PaperMC Paper 版本号:' $PAPERMC_PAPER_VERSION
echo 'PaperMC Paper 工作目录:' $PAPERMC_PAPER_HOME
echo 'PaperMC Paper 监听端口25565'
echo '数据文件目录:' $PAPERMC_PAPER_DATA_DIR
echo '----------------------------------------------------------------------------------------------------'
java -Xms2G -Xmx2G -jar $PAPERMC_PAPER_HOME/paper-$PAPERMC_PAPER_VERSION.jar --nogui