mirror of
https://github.com/kaboomserver/buildpack.git
synced 2025-08-03 19:05:37 +00:00
Unset TMUX to allow alivecheck to start
This commit is contained in:
parent
5eb996dece
commit
d902e0e695
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
while true; do
|
||||
stty intr undef
|
||||
TMUX="tmux new -d -s alivecheck 'sh -x script/alivecheck'"
|
||||
unset TMUX
|
||||
tmux new -d -s alivecheck 'sh -x script/alivecheck'
|
||||
java -Xmx384M -Xtune:virtualized -Xaggressive -Xcompressedrefs -Xdump:none -Xgc:concurrentScavenge -Xgc:dnssExpectedTimeRatioMaximum=3 -Xgc:scvNoAdaptiveTenure -Xdisableexplicitgc -Xshareclasses -XX:-HeapDumpOnOutOfMemoryError -XX:OnOutofMemoryError="pkill -9 java" -XX:MaxDirectMemorySize=64M -XX:+UseContainerSupport -Dpaper.playerconnection.keepalive=360 -DIReallyKnowWhatIAmDoingISwear -jar minecraft-server.jar --world-dir=worlds
|
||||
tmux kill-session -t alivecheck
|
||||
sleep 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue