Been playing with Geoff Barkman's keep alive script for Rivendell.
http://geofffromdunedin.blogspot.co.nz/
I'm running Centos and having a problem substituting my own path to rm
/home/geoff2/.rdairplaylock (it's not being found)
Does the Rivendell still have a .rdairplaylock file, and if so, where is
it located on the Centos appliance?
Many Thanks
Warren Mead
#!/bin/bash
# This returns a value of 0 (if not running) or 1 (if rdairplay running)
statusrdairplay=`ps x | grep -v grep | grep -c rdairplay`
echo $statusrdairplay
if [ $statusrdairplay = "1" ]; then
echo "rdairplay is running"
else
# Remove rdlockfile Change the path to the rdairplaylock file on your
set up.
rm /home/geoff2/.rdairplaylock
# Start rdairplay /usr/bin/rdairplay &
#Pause for 10 seconds to give rdairplay time to start up prior the
running rmlsend command sleep 10
#Optional you could add this rmlsend line here to play next track if you
wished
rmlsend PN\ 1\!
fi
exit
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev