mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-25 20:40:36 +00:00
Relaunch tmux sessions if they fail
This commit is contained in:
parent
f9499cd6fb
commit
1cf83f318c
14
bin/start
14
bin/start
|
@ -11,12 +11,18 @@ 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 new -d -s server 'sh -x script/server'
|
while true; do
|
||||||
tmux new -d -s remote 'sh -x script/remote'
|
tmux new -d -s server 'sh -x script/server'
|
||||||
tmux new -d -s schematics 'sh -x script/schematics'
|
tmux new -d -s remote 'sh -x script/remote'
|
||||||
|
tmux new -d -s schematics 'sh -x script/schematics'
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|
||||||
tmux new -d -s alivecheck 'sh -x script/alivecheck'
|
while true; do
|
||||||
|
tmux new -d -s alivecheck 'sh -x script/alivecheck'
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
|
||||||
sleep infinity
|
sleep infinity
|
||||||
|
|
Loading…
Reference in a new issue