Advertisement
Charflow

start script

Nov 30th, 2015
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.24 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. while true; do
  4.   java -Dlog4j.configurationFile=log4j2.xml -server -Xmx8G -jar spigot-1.8.8-R0.1-SNAPSHOT-latest.jar
  5.   echo "You have 5 seconds to stop the server using Ctrl-C. Server will restart otherwise"
  6.   sleep 5
  7. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement