1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine the run script for centos7

This commit is contained in:
winlin 2014-10-09 11:27:49 +08:00
parent 2ed794ad52
commit a9cceee943

View file

@ -17,7 +17,7 @@ echo "启动SRS转发服务器成功"
./etc/init.d/srs-api restart; ret=$?; if [[ 0 -ne $ret ]]; then echo "错误启动API服务器失败"; exit $ret; fi
echo "启动API服务器成功"
ip=`ifconfig|grep "inet"|grep "addr"|grep "Mask"|grep -v "127.0.0.1"|awk 'NR==1 {print $2}'|awk -F ':' '{print $2}'`
ip=`ifconfig|grep "inet "|grep -v "127.0.0.1"|awk 'NR==1 {print $2}'|awk -F ':' '{print $2}'`
port=8085
cat<<END
默认的12路流演示