#!/bin/sh

search_pid=`ps |grep -v 'grep'|grep -v 'sh' |grep -v 'rpxc-mipsle'|grep -c 'kpl-robot'`

echo "kpl-robot: $search_pid"  
  
if [ $search_pid -eq 0 ]  
then  
  cd /home && applocal=kpl-robot&&./$applocal -cmd-addr=:3000 -config-file=plugs-robot.json -uuidfile=/home/app.uuid &
fi

