mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-29 19:53:13 +00:00
Run ttyd in background
This commit is contained in:
parent
c528f3db33
commit
8d659f0597
|
@ -11,7 +11,7 @@ chmod -R 500 plugins/bStats/ plugins/PluginMetrics/ plugins/ProtocolLib/
|
||||||
|
|
||||||
git clone git@github.com:kaboomserver/schematics.git plugins/FastAsyncWorldEdit/schematics/
|
git clone git@github.com:kaboomserver/schematics.git plugins/FastAsyncWorldEdit/schematics/
|
||||||
|
|
||||||
tmux set-option status off
|
tmux set -g status off
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
tmux new -d -s server 'sh -c script/server' >/dev/null
|
tmux new -d -s server 'sh -c script/server' >/dev/null
|
||||||
|
@ -20,7 +20,7 @@ while true; do
|
||||||
sleep 5
|
sleep 5
|
||||||
done &
|
done &
|
||||||
|
|
||||||
ttyd -p $PORT tmux attach -t server
|
ttyd -p $PORT tmux attach -t server &
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
|
Loading…
Reference in a new issue