mirror of
https://github.com/kaboomserver/buildpack.git
synced 2025-08-06 20:22:53 +00:00
Alive check improvements
This commit is contained in:
parent
a25a927895
commit
88bff9c766
3 changed files with 3 additions and 9 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
while true; do
|
||||
stty intr undef
|
||||
tmux new -d -s alivecheck 'sh -x script/alivecheck'
|
||||
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
|
||||
tmux kill-session -t alivecheck
|
||||
sleep 1
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue