Guest User

Untitled

a guest
Mar 3rd, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. #!/bin/sh
  2. while true
  3. do
  4. java -Xmx1G -Xms1G -jar server.jar
  5. echo "If you want to completely stop the server process now, press Ctrl+C before
  6. the time is up!"
  7. echo "Rebooting in:"
  8. for i in 5 4 3 2 1
  9. do
  10. echo "$i..."
  11. sleep 1
  12. done
  13. echo "Rebooting now!"
  14. done
Advertisement
Add Comment
Please, Sign In to add comment