Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-03-10 19:26:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4a8ee0f6e93469a2bb0e456d64da39346a50687e
4a8ee0f6
1 parent
51f4b2f5
fix bug of stop script
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
trunk/scripts/stop.sh
trunk/scripts/stop.sh
查看文件 @
4a8ee0f
...
...
@@ -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系统服务均已停止"
...
...
请
注册
或
登录
后发表评论