[mythtv-users] Auto-start mythfrontend

Alan Snyder ax763 at yahoo.com
Tue Jan 6 14:51:39 EST 2004


> 
> 
> What's the right way to auto-start mythfrontend at
boot time?
> 
> Ideally, it would restart X if X dies, and it would
restart 
> mythfrontend if it dies.  (Then I could hit 
> ctrl-alt-backspace to reset it if things go really
haywire.)
> 

I run under kde and have the myth user automatically
logged in.
I have the following script in ~/.kde/Autostart:

#!/bin/bash
while true; do
        mythfrontend >> ~/Documents/mythfrontend.log
2>>~/Documents/mythfrontenderrors.log
done


My main myth box has no mouse and doesn't always have
a keyboard.  If I do
any backend re-configuration, I just killall
mythfrontend after restarting
the backend.  If anything goes really wrong, I ssh to
the box and do init 3
&& init 5.  Though I can't recall the last time
anything's gone wrong at
all.


__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus


More information about the mythtv-users mailing list