Charflow

start script

Nov 30th, 2015
30
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data