try another random thing

i should probably just edit the files on the phone but eh
This commit is contained in:
Chipmunk 2023-07-27 12:12:41 -04:00
parent 1dab5eecea
commit ceb5f9a132

View file

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