Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- BINDIR=$(dirname "$(readlink -fn "$0")")
- while true
- do
- 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
- echo "To stopping the server, press the key combination Ctrl + C!"
- echo "Reboot:"
- for i in 5 4 3 2 1
- do
- echo "$i..."
- sleep 1
- done
- echo "Reboot complete!"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement