Did you ever figure this out?
On Mon, Apr 30, 2007 at 10:02 AM, Zack Chandler <zackchandler at
gmail.com> wrote:> Anyone have a a good monit config section for bgrb?
>
> I''m thinking something like this:
>
> check process backgroundrb with pidfile
> /var/www/apps/foo/current/log/backgroundrb.pid
> start program = "/var/www/apps/foo/current/script/backgroundrb
start"
> stop program = "/var/www/apps/foo/current/script/backgroundrb
stop"
> if failed host 127.0.0.1 port 2000 then restart
> if 5 restarts within 5 cycles then timeout
>
> Problem is the port test fails - I thought 2000 is the default...
>
> Thanks,
> Zack
> _______________________________________________
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> http://rubyforge.org/mailman/listinfo/backgroundrb-devel
>
--
--------------------
seth at subimage interactive
-----
http://sublog.subimage.com
-----
Cashboard - Estimates, invoices, and time tracking software - for free!
http://www.getcashboard.com
-----
Substruct - Open source RoR e-commerce software.
http://code.google.com/p/substruct/