[vdr] runvdr - better control ?

Wolfgang Goeller wgoeller at heraklit.ch
Sun Oct 30 13:04:32 CET 2005


Hello

Sometimes a recording is not done although vdr is running.
Since vdr was running - according to ps runvdr did not restart vdr.

I dont't know what's the reason, might be, my vdr sometimes
get tired :-) In /var/log/messages I find no explanation.
But I think I've got a reasonable and simple solution:

When vdr behaves like this (halfdead) I can't connect to
the svdrhost. My proposal thus for testing if vdr is really
alive:

a=`svdrpsend.pl -p 2001 "quit" | grep SVDRP`
if [ -z $a ]
then
RESTART
fi

regards
Wolfgang



More information about the vdr mailing list