After 2 hours of searching, I finally found it !

do this :

God.watch do |w|
    w.name = "core"
   ...
    w.autostart = nil
   ...
end


On 18 déc 2008, 03:04, woahdae <[email protected]> wrote:
> Any ideas how I would start a service unmonitored? Or, where I would
> start in the code to unobtrusively add this feature?
>
> I have nginx running on one node in a cluster, started wherever
> heartbeat chooses, but it is capable of being run on all nodes. I'd
> prefer to see it "unmonitored" on all nodes except the one it's "up"
> on, but currently I hack a solution by loading the config to start it
> ('god load /path/to/nginx.god'), and calling 'god stop nginx;god
> remove nginx' to stop it.
--~--~---------~--~----~------------~-------~--~----~
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