Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- while true; do
- java -Dlog4j.configurationFile=log4j2.xml -server -Xmx8G -jar spigot-1.8.8-R0.1-SNAPSHOT-latest.jar
- echo "You have 5 seconds to stop the server using Ctrl-C. Server will restart otherwise"
- sleep 5
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement