服务端运行脚本

pull/2/head
dovela 2018-06-26 19:49:11 +08:00 committed by GitHub
parent 55eb0a3cce
commit fd0cdba0da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

3
run.sh Normal file
View File

@ -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 ..