Rename example conf, change Makefile & entrypoint

This commit is contained in:
JeremyStar™ 2024-01-27 16:32:41 +01:00
parent c18ec3d06f
commit bca6dd8673
3 changed files with 5 additions and 5 deletions

View file

@ -3,12 +3,12 @@
dist: help
help:
@echo "make help [Displays help]"
@echo " check [Check all shell scripts for issues]"
@echo " build [Builds the docker image]"
@echo " test [Tests the docker image]"
@echo " clean [Cleans the docker build cache]"
build:
check:
shellcheck *.sh
build: check
docker buildx build --progress tty --tag mcserverdocker:repobuild .
clean:
docker buildx prune --all --force
test:
docker run mcserverdocker:repobuild

View file

@ -60,7 +60,7 @@ function kill_server() {
function run() {
echo ":: Starting server"
cd /data
cd /data||exit 69
# We want to use ${ARGS} without using parenthesis
# shellcheck disable=SC2086
"/usr/lib/jvm/java-${MCSD_JAVA_VERSION}-openjdk/bin/java" -jar "/data/server.jar" ${ARGS} &