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

12 lines
665 B
Bash
Executable File
Raw Permalink 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.

#!/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