Dependency

87 views
Skip to first unread message

killfill

unread,
Jul 9, 2009, 11:32:27 AM7/9/09
to god.rb
Hello god's!...

I have a group a processes i wish to monitor with god, and they depend
on each other.
Is it possible to define dependencies between them?

So i.e. when i "god start my_group_of_procs" then they will be started
in order.
Or then one of the base processes dies, then stop all the ones that
dependend on it, and start them up again in order.

I could not find any documentation about about this.

Thanks in advance.

Tom Preston-Werner

unread,
Aug 9, 2009, 1:34:58 PM8/9/09
to god.rb
On Jul 9, 8:32 am, killfill <pneum...@gmail.com> wrote:
> I have a group a processes i wish to monitor with god, and they depend
> on each other.
> Is it possible to define dependencies between them?

There is currently no mechanism for specifying dependencies between
watches, though it is something that I'm interested in having added to
God. If anyone feels motivated to take a stab at it, I'd be very keen
to review the patches.

Tom

Roman Gaufman

unread,
Oct 17, 2012, 6:09:01 AM10/17/12
to god...@googlegroups.com
Are there any workarounds for this? - I want to use God to start an RTSPProxy and then start an RTSPClient. But obviously the RTSPClient depends on the RTSPProxy running - how would I make sure the Client is started after the Proxy is running?

Robert Birch

unread,
Oct 18, 2013, 6:00:52 PM10/18/13
to god...@googlegroups.com, pneu...@gmail.com
Here's a tutorial on how to create God process dependencies
https://coderwall.com/p/9evraa?i=1&p=1&q=author%3Arobdbirch&t%5B%5D=robdbirch
Reply all
Reply to author
Forward
0 new messages