Last active
November 2, 2017 16:07
-
-
Save DeprecatedNether/450d688b050d0421678f to your computer and use it in GitHub Desktop.
Server auto restart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while [ true ]; do | |
java -Xms256M -Xmx256M -jar spigot.jar | |
echo "Server stopped, restarting in 5 seconds. Terminate this script to stop." | |
sleep 5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment