You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk/scripts/stop.sh

13 lines
509 B
Bash

11 years ago
#!/bin/bash
./etc/init.d/srs-demo stop; ret=$?; if [[ 0 -ne $ret ]]; then echo "错误停止SRS失败"; exit $ret; fi
echo "停止SRS服务器成功"
11 years ago
./etc/init.d/srs-demo-19350 stop; ret=$?; if [[ 0 -ne $ret ]]; then echo "错误停止SRS转发服务器失败"; exit $ret; fi
echo "停止SRS转发服务器成功"
11 years ago
./etc/init.d/srs-api stop; ret=$?; if [[ 0 -ne $ret ]]; then echo "错误停止API服务器失败"; exit $ret; fi
echo "停止API服务器成功"
11 years ago
echo "SRS系统服务均已停止"