2019-08-06 17:42:16 +00:00
|
|
|
#!/bin/sh
|
|
|
|
while true; do
|
2019-09-21 14:03:15 +00:00
|
|
|
stty intr undef
|
2019-09-27 12:45:00 +00:00
|
|
|
tmux new -d -s alivecheck 'sh -x script/alivecheck'
|
2019-09-22 14:02:06 +00:00
|
|
|
java -Xmx384M -Xss512k -Xaggressive -Xcompressedrefs -Xdump:none -Xgcpolicy:balanced -Xcompactexplicitgc -Xcompactgc -Xquickstart -Xshareclasses -XX:-HeapDumpOnOutOfMemoryError -XX:MaxDirectMemorySize=64M -XX:+UseContainerSupport -Dcom.mojang.eula.agree=true -Dpaper.playerconnection.keepalive=360 -DIReallyKnowWhatIAmDoingISwear -jar minecraft-server.jar --world-dir=worlds
|
2019-09-27 12:45:00 +00:00
|
|
|
tmux kill-session -t alivecheck
|
2019-08-06 17:42:16 +00:00
|
|
|
sleep 1
|
|
|
|
done
|