diff --git a/script/server.sh b/script/server.sh index 118d1b8..0a7bc81 100755 --- a/script/server.sh +++ b/script/server.sh @@ -5,7 +5,7 @@ # PATH="$HOME/framework/vendor/java/bin/:$PATH" # Dump classes -java -Xshare:dump +# java -Xshare:dump # Make sure we're in the server folder, located in the home directory cd ~/server/ @@ -38,7 +38,7 @@ while true; do # Start alive checker - # dtach -n alivecheck ~/framework/script/alivecheck.sh + dtach -n alivecheck ~/framework/script/alivecheck.sh # Start Minecraft server @@ -65,7 +65,7 @@ while true; do -XX:InitiatingHeapOccupancyPercent=15 \ -Xss8M \ -XX:MaxDirectMemorySize=512M \ - -Xshare:on \ + # -Xshare:on \ -XX:+UseContainerSupport \ -XX:-UsePerfData \ -DPaper.IgnoreJavaVersion=true \ @@ -77,7 +77,7 @@ while true; do # Stop alive checker (will be started again on the next run) - # pkill -9 alivecheck.sh + pkill -9 alivecheck.sh echo $(date) >> "$stop_log_file" # Ensure we don't abuse the CPU in case of failure