bluff called, touche
All checks were successful
Docker Build and Push / build (push) Successful in 1m5s

This commit is contained in:
2025-07-23 11:39:03 -04:00
parent 2223ea9969
commit d78cfd39c1

View File

@ -273,9 +273,7 @@ while true; do
cd /data/server cd /data/server
if [[ ! -f "server.properties" ]]; then touch "server.properties"; fi if [[ ! -f "server.properties" ]]; then touch "server.properties"; fi
if [[ -f "run.sh" ]]; then if [[ -f $JAR ]]; then
exec ./run.sh
elif [[ -f $JAR ]]; then
echo -e "|_______________________________________________________|" echo -e "|_______________________________________________________|"
echo -e "|##----------------- Server Starting -----------------##|" echo -e "|##----------------- Server Starting -----------------##|"
echo -e "|#| Minecraft Version: $MC_VERSION" echo -e "|#| Minecraft Version: $MC_VERSION"
@ -298,7 +296,11 @@ while true; do
echo -e "|-------------------------------------------------------|" echo -e "|-------------------------------------------------------|"
echo -e " " echo -e " "
serverInfoWrite serverInfoWrite
if [[ -f "run.sh" ]]; then
exec ./run.sh
else
exec java $RUN_STRING exec java $RUN_STRING
fi
else else
echo "Server Not Found." echo "Server Not Found."
crash crash