[mythtv-users] Start Mythfrontend if not running?
christopher.mcewan at gmail.com
Tue Dec 28 16:29:03 UTC 2004
On Fri, 17 Dec 2004 07:38:36 -0600, Bryan Murphy <bryan at terralab.com> wrote:
> This is what I use. It restarts myth if it crashes, but not if you exit
> it normally. Modify to fit your environment.
> export DISPLAY=":0.1"
> xset -display :0.1 -dpms
> xset -display :0.1 s off
> until [ "$?" == "1" ]; do
> /opt/MythTV/bin/mythfrontend > /tmp/mythfrontend.log 2>&1
> >When I had problems with the frontend crashing, I just ran it like so:
> >while echo Restarted; do mythfrontend; done
> >This will just run mythfrontend in a loop forever. Problem is that you
> >can't exit it without launching a second terminal and killing the
> >process, but I was running a dedicated box, so I saw no need for closing
> mythtv-users mailing list
> mythtv-users at mythtv.org
Excellent stuff !
Had to change a couple things to get it to work but work it does..
Thank you !
More information about the mythtv-users