I just started using God today. In fact, the documentation at god.rubyforge.org changed on me during mid reading... :)
I changed to using polling and it seems to work. I have a few questions about that though. When I start God (i.e. "sudo god -c / conf/path"), I want certain Watches to start as "unmonitored". In other words, I want to explicitly control when God should start watching a process, regardless of when I actually load the Watch. Thanks for the help, -- C On Jul 1, 9:41 pm, Tom Werner <[email protected]> wrote: > Did this work on pre 0.11.0 versions of God, or have you just started using > it? > > Tom > > On Thu, Jul 1, 2010 at 5:01 PM, Christopher J. Bottaro > > > > > > <[email protected]> wrote: > > Hello, > > > Easier to just show output... > > > $ sudo god -v > > warning: HTTParty depends on version 0.1.7 of crack, not 0.1.6. > > Version 0.11.0 > > > $ sudo god check > > warning: HTTParty depends on version 0.1.7 of crack, not 0.1.6. > > using event system: netlink > > starting event handler > > forking off new process > > forked process with pid = 22378 > > killing process > > [ok] process exit event received > > > $ sudo god load /etc/god/feed_index_tempest.conf > > warning: HTTParty depends on version 0.1.7 of crack, not 0.1.6. > > Sending 'load' command > > > The following tasks were affected: > > feed_index_tempest-1 > > > $ sudo bin/tempest_ctl feed_index_tempest-1 stop > > feed_index_tempest-1: trying to stop process with pid 22373... > > feed_index_tempest-1: process with pid 22373 successfully stopped. > > > $ sudo god status > > warning: HTTParty depends on version 0.1.7 of crack, not 0.1.6. > > feed_index_tempest-1: up > > > Any subsequent calls to "god status" show that it's still up and > > running, when it is indeed not. > > > Starting, stopping, restarting the daemon via God all work fine. > > > My Watcher is defined like so: http://pastie.org/1027470 > > > Thanks for the help. > > > -- > > 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 > > athttp://groups.google.com/group/god-rb?hl=en. > > -- > Tom Preston-Werner > github.com/mojombo -- 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.
