~scriptsnginx
6 itemsDownload ./*

6 itemsDownload ./*

..
ana-stream-gst-rtmp-rtp.gensh
ana-stream-gst-srt-rtp.gensh
killrtmppush.sh
makethumb.sh
nginx.conf
pushrtmprtp.sh


nginxkillrtmppush.sh
7•  5 days ago•  DownloadRawClose
5 days ago•  7

{}
#!/bin/bash

APP=$1
NAME=$2

if [ "$APP/$NAME" != "/" ]; then
    #rtmp
    kill $(ps aux | grep "$APP/$NAME" | awk '{print $2}')
else
    #srt
    #kill $(ps aux | grep "srt://127\.0\.0\.1:9001" | awk '{print $2}')
    kill $(ps aux | grep "srt://:9001" | awk '{print $2}')
fi

Top
©twily.info 2013 - 2024
twily at twily dot info



2 139 608 visits
... ^ v