Hey all, I'm managing a bunch of services with god and am trying to script the whole process with Thor (alternative to rake). My script works how I expect until it hits God.load. No errors are raised but god seems to be ignoring everything. I haven't found much information about how God.load works, like where you invoke it, or if it consumes the running process, that kind of stuff. I'd appreciate any help.
So, basically, I just run thor god:load which goes through a routine to determine which services god needs to manage, things like nginx, unicorn, resque, redis, postgres, and others. Once it determines the list of services to run, it calls God.load on the list of .god scripts that manage each individual service. Like I said, my script appears to be running everything fine, but ultimately the god process doesn't come up and isn't monitoring anything, indeed god doesn't seem to be started. The only thing I can think is that because I'm running it with thor and not the god command, god isn't consuming everything. If that's the case, does that mean I need my script to be runnable by god by using - c on it? Sorry if this questions seems disjointed. I can post code samples if you need them. Thanks, BJ -- 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.
