#!/bin/bash



search_pid=`ps -ef|grep -v 'grep'|grep -v 'sh' |grep -v 'rpxc-mipsle'|grep -c 'ntrip-site'`

echo "ntrip-site: $search_pid"
  
if [ $search_pid -eq 0 ]  
then  
  cd /home/ntrip-site && ./ntrip-site -appid vrs-ntrip-site-yd -apptype vrs -apiurl http://119.96.169.117:9004 -logfile ./log/vrs-ntrip-site.log &
fi

