run.sh temp hack
All checks were successful
Docker Build and Push / build (push) Successful in 1m7s

This commit is contained in:
2025-07-23 11:29:03 -04:00
parent 5383662f9f
commit 4c155584af

View File

@ -272,7 +272,10 @@ EOF
while true; do
cd /data/server
if [[ ! -f "server.properties" ]]; then touch "server.properties"; fi
if [[ -f $JAR ]]; then
if [[ -f "run.sh" ]]; then
exec run.sh
else if [[ -f $JAR ]]; then
echo -e "|_______________________________________________________|"
echo -e "|##----------------- Server Starting -----------------##|"
echo -e "|#| Minecraft Version: $MC_VERSION"
@ -282,7 +285,6 @@ while true; do
echo -e "|#| "
echo -e "|#| Java Version: $JAVA_VERSION"
echo -e "|#| Jar: $JAR"
echo -e "|#| Memory Allocated: $MEM"
echo -e "|#| Additional Args: $ADD_ARGS"
echo -e "|#| "