Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- BINDIR=$(dirname "$(readlink -fn "$0")")
- while true
- do
- java -Xmx16G -Xms1G -XX:+AlwaysPreTouch -XX:+DisableExplicitGC -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=50 -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AggressiveOpts -jar Spigot.jar
- echo "To stopping the server, press the key combination Ctrl + C!"
- echo "Reboot:"
- for i in 1
- do
- echo "$i..."
- sleep 1
- done
- echo "Reboot complete!"
- done
Add Comment
Please, Sign In to add comment