mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-28 22:10:35 +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/
|
||||
|
||||
tmux set-option status off
|
||||
tmux set -g status off
|
||||
|
||||
while true; do
|
||||
tmux new -d -s server 'sh -c script/server' >/dev/null
|
||||
|
@ -20,7 +20,7 @@ while true; do
|
|||
sleep 5
|
||||
done &
|
||||
|
||||
ttyd -p $PORT tmux attach -t server
|
||||
ttyd -p $PORT tmux attach -t server &
|
||||
sleep 30
|
||||
|
||||
while true; do
|
||||
|
|
Loading…
Reference in a new issue