Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "Starte Server!"
- while true
- do
- java -Xmx2G -Xms1G -XX:MaxPermSize=128m -jar "TekkitLegends.jar" nogui
- echo "If you want to completely stop the server process now, press Ctrl+C before the time is up!"
- echo "Rebooting in:"
- for i in 5 4 3 2 1
- do
- echo "$i..."
- sleep 1
- done
- echo "Rebooting now!"
- done
Add Comment
Please, Sign In to add comment