[mythtv-users] Monit and SVN

Matt Rude mythtv at mattrude.com
Sat Apr 28 00:47:50 UTC 2007


A JM wrote:
> Sorry, I got excited...
>
> Since I normally just run mythbackend from the CL would placing the
> option --pidfile in the conf work?
>
> ##/etc/monit.conf
> check process Mythbackend with pidfile /var/run/mythbackend.pid
>  group mythtv
>  start program = "/usr/local/bin mythbackend --pidfile /var/run/mythtv/ restart"
>  stop program  = "/usr/local/bin mythbackend stop"
>  if failed port 6544 then restart
>  depends on Mysql
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   
it would work if you would use

monit mythbackend start
or
monit mythbackend stop

-Matt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20070427/0aa1d10c/attachment.pgp 


More information about the mythtv-users mailing list