bluff called, touche
All checks were successful
Docker Build and Push / build (push) Successful in 1m5s
All checks were successful
Docker Build and Push / build (push) Successful in 1m5s
This commit is contained in:
@ -273,9 +273,7 @@ while true; do
|
||||
cd /data/server
|
||||
if [[ ! -f "server.properties" ]]; then touch "server.properties"; fi
|
||||
|
||||
if [[ -f "run.sh" ]]; then
|
||||
exec ./run.sh
|
||||
elif [[ -f $JAR ]]; then
|
||||
if [[ -f $JAR ]]; then
|
||||
echo -e "|_______________________________________________________|"
|
||||
echo -e "|##----------------- Server Starting -----------------##|"
|
||||
echo -e "|#| Minecraft Version: $MC_VERSION"
|
||||
@ -298,7 +296,11 @@ while true; do
|
||||
echo -e "|-------------------------------------------------------|"
|
||||
echo -e " "
|
||||
serverInfoWrite
|
||||
if [[ -f "run.sh" ]]; then
|
||||
exec ./run.sh
|
||||
else
|
||||
exec java $RUN_STRING
|
||||
fi
|
||||
else
|
||||
echo "Server Not Found."
|
||||
crash
|
||||
|
Reference in New Issue
Block a user