Hey Lich!

Thank you for the heads up on the explorer, seems like BiblePay crashes randomly every few weeks,
(Anyone know how I can automate it to restart Biblepay if BiblePay crashes and to delete the explorer/tmp/index.pid file as well?)
Explorer is updated now
I've been thinking on this for a project I have going on..
I'm going to write a shell script (when I can get to it) that checks the status of the daemon and will restart it if/when it fails. I'll post it here when i'm done.
I have one for the index.pid file I'd be happy to share as well. I am happy with it, and it would be easy to extend to the daemon too
Togo -
This is a bit "rough" in that I should have parameterized the working directory, or at least made it a variable, but here you go:
#!/bin/bash
fname="/home/biblepay/explorer/tmp/index.pid"
if [[ -f "$fname" ]];
then
pid=$( echo $pid
ps -p $pid > /dev/null
r=$?
echo $r
if [ $r -eq 0 ]; then
exit 1
else
rm $fname
fi
fi
I added this to crontab to run periodically. In cases where the index.pid is still there but the process is gone, it simply removes the index.pid file. Hope this helps.