Hi,
I've written a GOD file to run a Ruby file:
God.watch do |w|
# watch with no pid_file attribute set
w.group = "AGroup"
w.name = "SomeName"
w.start = "ruby /path/to/ruby_file.rb"
end
But if I start GOD with -c myfile.god -D it says that SomeName has
been moved from "unmonitored" to "up", but ruby /path/to/ruby_file.rb
is never executed. I noticed that, because my ruby_file.rb has some
side effects on a memcached server and running it by GOD makes
memcached do nothing as ruby_file.rb never connects.
What's wrong with that?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---