stop servers on error in run script

This commit is contained in:
Bruno Windels 2018-07-27 18:44:01 +02:00
parent 758da78659
commit 29d688543d
2 changed files with 16 additions and 4 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
PORT=5000
echo "running riot on http://localhost:$PORT..."
echo "running riot on http://localhost:$PORT ..."
BASE_DIR=$(readlink -f $(dirname $0))
cd $BASE_DIR/
pushd riot-web/webapp/ > /dev/null