[mythtv-users] Double invocations of mythfrontend
dag at newtech.fi
Sun Dec 18 11:01:47 EST 2005
I have one problem here, where I wonder if anyone out
there could help.
I have a small script that restarts mythfrontend when it crashes,
looks like this:
ps -e | grep -q mythfrontend
if [ $? -eq 0 ]
echo "Sleeping 2 seconds" >>$LOGFILE
echo "Starting mythfrontend" >>$LOGFILE
mythfrontend -l /var/log/mythfront.log
echo "mythfrontend ended" >>$LOGFILE
if [ -f /home/mythtv/mythquit ]
The problem I have is that something seems to invoke more mythfrontend
and it doesn't seem to be my script. This new mythfrontend occasionally steals
the focus of the
process in use.
The extra process has a parent PID of 1.
Is mythfrontend forking at some point?
This is probably not a myth problem, but any hint would help.
I can add that I am not new to UNIX and Linux, have been doing UNIX since 1980
and Linux since
1994, but I am really having problems with this.
More information about the mythtv-users