mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-16 16:31:20 +00:00
Test ttyd
This commit is contained in:
parent
d26c9493f7
commit
195b008419
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
PATH="$HOME/autossh/bin/:$HOME/java/bin/:$HOME/tmux/bin/:$PATH"
|
||||
PATH="$HOME/autossh/bin/:$HOME/java/bin/:$HOME/tmux/bin/:$HOME/ttyd/bin/:$PATH"
|
||||
|
||||
echo "$REMOTE_KEY" > .ssh/remote
|
||||
echo "$SYNC_KEY" > .ssh/id_rsa
|
||||
|
@ -14,8 +14,6 @@ git clone git@github.com:kaboomserver/schematics.git plugins/FastAsyncWorldEdit/
|
|||
while true; do
|
||||
tmux new -d -s server 'sh -x script/server' >/dev/null
|
||||
tmux new -d -s remote 'sh -x script/remote' >/dev/null
|
||||
#tmux new -d -s server 'sh -x script/webconsole' >/dev/null
|
||||
sh -x script/webconsole
|
||||
tmux new -d -s schematics 'sh -x script/schematics' >/dev/null
|
||||
sleep 5
|
||||
done &
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/sh
|
||||
while true; do
|
||||
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 -jar minecraft-server.jar --world-dir=worlds
|
||||
ttyd -p $PORT 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 -jar minecraft-server.jar --world-dir=worlds
|
||||
sleep 1
|
||||
done
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/sh
|
||||
cd $HOME/plugins/WebConsole/client/
|
||||
while true; do
|
||||
python3 -m http.server $PORT --bind 0.0.0.0
|
||||
sleep 1
|
||||
done
|
Loading…
Reference in a new issue