mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-06-16 16:31:20 +00:00
Add web console handling
This commit is contained in:
parent
71e3071669
commit
7ada17972e
|
@ -2,5 +2,5 @@
|
|||
cat <<EOF
|
||||
---
|
||||
default_process_types:
|
||||
worker: script/start
|
||||
web: script/start
|
||||
EOF
|
||||
|
|
|
@ -14,6 +14,7 @@ git clone git@github.com:kaboomserver/schematics.git plugins/FastAsyncWorldEdit/
|
|||
while true; do
|
||||
tmux new -d -s server 'sh -x script/server'
|
||||
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'
|
||||
sleep 5
|
||||
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