This commit is contained in:
mathiascode 2019-11-30 20:57:33 +02:00
parent f50b6cd2a7
commit cb6b6d2d1c
3 changed files with 5 additions and 5 deletions

View file

@ -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 &

View file

@ -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 \

View file

@ -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