diff --git a/run.sh b/run.sh new file mode 100644 index 0000000..5fbaeac --- /dev/null +++ b/run.sh @@ -0,0 +1,3 @@ +kill -9 $(lsof -i:35601 |awk '{print $2}' | tail -n 1) +nohup ./server/sergate --config=server/config.json --web-dir=$(dirname $0 | pwd)/web/ >> run.log 2>&1 & +cd ..