#!/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=:8081 -config-file=plugs-robot.json -uuidfile=app.uuid &
fi

