MythTV Backend Restart



Automatically Restarting Mythbackend

Even though the mythbackend task is usually very stable, it has been known to crash now and again due to driver issues and the like. This can be very frustrating if it causes you to miss a recording. This page details a couple of ways of dealing with this...

Monit

Monit is a standard utility which can be configured to monitor and restart the backend process:

Mythmon Script

Alternatively, here's a script to specifically to monitor and restart the backend process:

Make mythmon executable:

sudo chmod 755 /usr/bin/mythmon

The script runs every minute and restarts the mythbackend task if it isn't running. It writes a log file to /tmp/mythmon.log


Leave a comment.