Onvif/RTSP流媒体服务
具体试用可以参见: https://www.liveqing.com/docs/download/LiveNVR.html
linux中非root用户如何启动和停止
安装成系统服务的时候必须root权限,但是有时没有root权限,可以进行如下处理
启动脚本
#!/bin/bash
CWD=$(cd "$(dirname $0)";pwd)
nohup "$CWD"/livenvr >/dev/null 2>&1 &
停止脚本
#!/bin/bash
CWD=$(cd "$(dirname $0)";pwd)
kill -9 $(ps -ef|grep livenvr|grep -v grep|awk '{print $2}')
cd "$CWD"/nginx/
./nginx -s stop
cd -