mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-28 19:23:01 +00:00
Fix bugs
This commit is contained in:
parent
f50b6cd2a7
commit
cb6b6d2d1c
|
@ -17,9 +17,9 @@ ssh-keyscan github.com >> .ssh/known_hosts
|
|||
# checker in the background
|
||||
|
||||
while true; do
|
||||
dtach -n server 'script/server.sh'
|
||||
dtach -n proxy 'script/proxy.sh'
|
||||
dtach -n schematics 'script/schematics.sh'
|
||||
dtach -n server script/server.sh
|
||||
dtach -n proxy script/proxy.sh
|
||||
dtach -n schematics script/schematics.sh
|
||||
sleep 5
|
||||
done &
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
set -x
|
||||
|
||||
ssh -i ~/.ssh/remote \
|
||||
ssh -i ~/.ssh/proxy \
|
||||
-o StrictHostKeyChecking=no -o ExitOnForwardFailure=yes -o StreamLocalBindUnlink=yes \
|
||||
-c aes128-ctr \
|
||||
-C -S none -N -T -R \
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
# OpenJ9 JVM is used instead of Java's default Hotspot JVM.
|
||||
|
||||
chmod -R 500 $HOME/plugins/bStats/ $HOME/plugins/PluginMetrics/
|
||||
dtach -n alivecheck '$HOME/script/alivecheck.sh'
|
||||
dtach -n alivecheck $HOME/script/alivecheck.sh
|
||||
|
||||
while true; do
|
||||
java -Xmx384M -Xtune:virtualized -Xaggressive -Xcompressedrefs -Xdump:none -Xgc:concurrentScavenge -Xgc:dnssExpectedTimeRatioMaximum=3 -Xgc:scvNoAdaptiveTenure -Xdisableexplicitgc -Xshareclasses -Xshareclasses:noPersistentDiskSpaceCheck -XX:-HeapDumpOnOutOfMemoryError -XX:OnOutofMemoryError="pkill -9 java" -XX:MaxDirectMemorySize=64M -XX:+UseContainerSupport -XX:+ClassRelationshipVerifier -Dpaper.playerconnection.keepalive=360 -DIReallyKnowWhatIAmDoingISwear -jar server.jar --world-dir=worlds
|
||||
|
|
Loading…
Reference in a new issue