mirror of https://github.com/vector-im/riot-web
hide riot static server output
parent
6ae5a7bd97
commit
c9461dd296
|
@ -1,8 +1,8 @@
|
|||
BASE_DIR=$(realpath $(dirname $0))
|
||||
pushd $BASE_DIR
|
||||
pushd riot-web/webapp/
|
||||
python -m SimpleHTTPServer 8080 &
|
||||
pushd $BASE_DIR > /dev/null
|
||||
pushd riot-web/webapp/ > /dev/null
|
||||
python -m SimpleHTTPServer 8080 > /dev/null 2>&1 &
|
||||
PID=$!
|
||||
popd
|
||||
popd > /dev/null
|
||||
echo $PID > riot.pid
|
||||
popd
|
||||
popd > /dev/null
|
Loading…
Reference in New Issue