[mythtv-users] Remotely restarting mythfrontend

Lonnie Borntreger myth at borntreger.com
Mon Feb 12 12:29:27 UTC 2007


On Mon, 2007-02-12 at 12:42 +0100, come se fosse antani wrote:
> why not simply a
> 
> #!/bin/sh
> DISPLAY=:0
> 
> if pidof mythfrontend
> then
> echo "Not starting mythfrontend... already started"
> else
>  mythfrontend &
> fi
> exit

If you do this while logged in remotely, you'll have to change the
 mythfrontend &
line to
 nohup mythfrontend &
otherwise the process would die when you log out.

Lonnie Borntreger




More information about the mythtv-users mailing list