# find linbpq process identifier
/usr/bin/pgrep linbpq
# if not running...
if [ $? -ne 0 ];
then /home/pi/linbpq/linbpq
fi