Advertisement
Guest User

Untitled

a guest
Feb 19th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. while true; do
  2. echo "Starting the server"
  3. exec screen -AmdS pixel110 /usr/lib/jvm/java-8-oracle/jre/bin/java -Xmx8196M -Xms8196M -XX:PermSize=256M -XX:+UseG1GC -Djava.security.policy=server.policy -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=60 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AggressiveOpts -XX:+UseLargePagesInMetaspace -XX:+AlwaysPreTouch -Djline.terminal=jline.UnsupportedTerminal -jar forge.jar nogui
  4. echo "Waiting 30 seconds before starting the server again"
  5. sleep 30
  6. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement