[mythtv-users] user jobs vs the built-in kind

Thomas Boehm mythtv-users at lists.boehmi.net
Sun Nov 23 21:55:24 UTC 2014


On 22/11/14 16:58, George Nassas wrote:
> Also problematic is how the backend doesn’t seem to check for running user jobs when deciding if it’s safe to shut down. They do get restarted the next time the machine comes up but it would be good to have them run all the way through the first time.

In mythtv-setup you can specify a pre-shutdown check script. If it
returns 0, MythTV will continue the shutdown, any other value will not.
In this script you can then check, whether a certain program runs or
whatever else you want.


More information about the mythtv-users mailing list