Advertisement
Leymooo

Untitled

May 29th, 2015
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. #!/bin/sh
  2. BINDIR=$(dirname "$(readlink -fn "$0")")
  3. while true
  4. do
  5. java -Dfile.encoding=utf-8 -Xincgc -server -Xmx7700M -Xms1024M -XX:MaxPermSize=640M -XX:+UseConcMarkSweepGC -XX:+UseBiasedLocking -XX:+AggressiveOpts -XX:UseSSE=4 -XX:+UseFastAccessorMethods -jar Spigot.jar nogui -o true --log-limit=400000
  6. echo "To stopping the server, press the key combination Ctrl + C!"
  7. echo "Reboot:"
  8. for i in 5 4 3 2 1
  9. do
  10. echo "$i..."
  11. sleep 1
  12. done
  13. echo "Reboot complete!"
  14. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement