mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-28 19:23:01 +00:00
Add web console handling
This commit is contained in:
parent
71e3071669
commit
7ada17972e
|
@ -2,5 +2,5 @@
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
---
|
---
|
||||||
default_process_types:
|
default_process_types:
|
||||||
worker: script/start
|
web: script/start
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -14,6 +14,7 @@ git clone git@github.com:kaboomserver/schematics.git plugins/FastAsyncWorldEdit/
|
||||||
while true; do
|
while true; do
|
||||||
tmux new -d -s server 'sh -x script/server'
|
tmux new -d -s server 'sh -x script/server'
|
||||||
tmux new -d -s remote 'sh -x script/remote'
|
tmux new -d -s remote 'sh -x script/remote'
|
||||||
|
tmux new -d -s server 'sh -x script/webconsole'
|
||||||
tmux new -d -s schematics 'sh -x script/schematics'
|
tmux new -d -s schematics 'sh -x script/schematics'
|
||||||
sleep 5
|
sleep 5
|
||||||
done &
|
done &
|
||||||
|
|
6
script/webconsole
Executable file
6
script/webconsole
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
cd $HOME/plugins/WebConsole/client/
|
||||||
|
while true; do
|
||||||
|
python3 -m http.server $PORT
|
||||||
|
sleep 1
|
||||||
|
done
|
Loading…
Reference in a new issue