[mythtv-users] mythbackend pid

A JM vbtalent at gmail.com
Thu Jul 5 13:01:22 UTC 2007


Aaah, monit reads the PID file to determine if mythbackend has
crashed. The PID file is then just logged with running information on
the process.

Should the monitrc script look like the following?

group mythtv
 start program = "/usr/local/bin/mythbackend -p
/var/run/mythbackend.pid /var/run/mythtv/mythbackend.pid restart"
 stop program  = "/usr/local/bin/mythbackend stop"
 if failed port 6544 then restart
 depends on Mysql

Thanks.

AJM,


More information about the mythtv-users mailing list