runvdr - better control ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux