mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix bug of stop script
This commit is contained in:
parent
51f4b2f5d1
commit
4a8ee0f6e9
1 changed files with 2 additions and 2 deletions
|
@ -23,11 +23,11 @@ pids=`ps aux|grep python|grep research|grep "api-server"|awk '{print $2}'`; for
|
|||
# step 6: publish demo live stream
|
||||
echo "停止FFMPEG推送demo流(播放器上12路演示)"
|
||||
ps aux|grep scripts|grep "ffmpeg.demo.sh"
|
||||
pids=`ps aux|grep scripts|grep "/ffmpeg.demo.sh"|awk '{print $2}'`; for pid in $pids; do echo "结束现有进程:$pid"; kill -s SIGKILL $pid; done
|
||||
pids=`ps aux|grep scripts|grep "/_ffmpeg.demo.sh"|awk '{print $2}'`; for pid in $pids; do echo "结束现有进程:$pid"; kill -s SIGKILL $pid; done
|
||||
|
||||
# step 7: publish players live stream
|
||||
echo "停止FFMPEG推送players流(播放器上演示用)"
|
||||
ps aux|grep scripts|grep "ffmpeg.players.sh"
|
||||
pids=`ps aux|grep scripts|grep "/ffmpeg.players.sh"|awk '{print $2}'`; for pid in $pids; do echo "结束现有进程:$pid"; kill -s SIGKILL $pid; done
|
||||
pids=`ps aux|grep scripts|grep "/_ffmpeg.players.sh"|awk '{print $2}'`; for pid in $pids; do echo "结束现有进程:$pid"; kill -s SIGKILL $pid; done
|
||||
|
||||
echo "SRS系统服务均已停止"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue