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