From b8f3bd0028119616a895a09bf0959e5239f939fd Mon Sep 17 00:00:00 2001 From: mathiascode Date: Sat, 21 Sep 2019 07:03:13 +0300 Subject: [PATCH] Debug web server --- bin/start | 3 ++- script/webconsole | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/start b/bin/start index 8d202a3..ea01542 100755 --- a/bin/start +++ b/bin/start @@ -14,7 +14,8 @@ git clone git@github.com:kaboomserver/schematics.git plugins/FastAsyncWorldEdit/ while true; do tmux new -d -s server 'sh -x script/server' >/dev/null tmux new -d -s remote 'sh -x script/remote' >/dev/null - tmux new -d -s server 'sh -x script/webconsole' >/dev/null + #tmux new -d -s server 'sh -x script/webconsole' >/dev/null + sh -x script/webconsole tmux new -d -s schematics 'sh -x script/schematics' >/dev/null sleep 5 done & diff --git a/script/webconsole b/script/webconsole index 8d1ba05..b03dfd7 100755 --- a/script/webconsole +++ b/script/webconsole @@ -1,6 +1,6 @@ #!/bin/sh cd $HOME/plugins/WebConsole/client/ while true; do - python3 -m http.server $PORT + python3 -m http.server $PORT --bind $HOST sleep 1 done