Hello everyone

I've got 3 watches setup, one for my mongrels, one for my nginx, and
one for my mysql.  I've created a god init script and everything
starts up as if by magic.

I'm assuming that the reason everything starts up is because of the 3
identical start_if blocks in each watch.

  w.start_if do |start|
    start.condition(:process_running) do |c|
      c.interval = 5.seconds
      c.running = false
      c.notify = "developers"
    end
  end

Here's the bit I can't understand if that is the case.

I've set all 3 services to notify me when a start_if block occurs, but
the only one that does is the mongrel block.

Can anyone shed any light on any possible reasons for that?

Any help, greatly appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"god.rb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/god-rb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to