Beginner's Questions

7 views
Skip to first unread message

Andrew Stewart

unread,
Jan 31, 2008, 11:34:22 AM1/31/08
to god...@googlegroups.com
Hi,

I've just started using God and have a few beginner's questions. I'd
appreciate any help you can give me.

- If I want to monitor several Rails apps' Mongrels on a server,
should I have a single instance of God running or one per app? How
do I monitor the second and subsequent apps?

- What's the difference between the commands stop, unmonitor and
remove? And quit and terminate?

- What commands should one use when deploying with Capistrano so that
the deployment's stopping and starting of Mongrel doesn't tangle with
God?

I can see that God will greatly improve my life but I haven't quite
figured out how to get there yet.

Thanks and regards,
Andy Stewart

-------
http://airbladesoftware.com

John Joseph Bachir

unread,
Jan 31, 2008, 11:53:20 AM1/31/08
to god...@googlegroups.com
On Jan 31, 2008 11:34 AM, Andrew Stewart <bo...@airbladesoftware.com> wrote:

> I've just started using God and have a few beginner's questions. I'd
> appreciate any help you can give me.

Welcome to the glory of god Andrew, and good questions-- I've been
using God for a few months and I don't know great answers to the first
two.


> - What commands should one use when deploying with Capistrano so that
> the deployment's stopping and starting of Mongrel doesn't tangle with
> God?

Here is my solution, maybe Tom can tell us if he has a better one:

http://rafb.net/p/T8pNKO71.html


--
John Joseph Bachir
http://blog.johnjosephbachir.org
http://lyceum.ibiblio.org
http://dissent.cc
http://jjb.cc

Andrew Stewart

unread,
Jan 31, 2008, 12:57:25 PM1/31/08
to god...@googlegroups.com

On 31 Jan 2008, at 16:53, John Joseph Bachir wrote:
>> - What commands should one use when deploying with Capistrano so that
>> the deployment's stopping and starting of Mongrel doesn't tangle with
>> God?
>
> Here is my solution, maybe Tom can tell us if he has a better one:
>
> http://rafb.net/p/T8pNKO71.html

Thanks for that code snippet. It looks just the job. I'll use it
and let you know if I happen to think of any useful modifications.

Regards,

Sean Geoghegan

unread,
Feb 21, 2008, 9:15:20 PM2/21/08
to god.rb
I was wondering the same thing, did a search and found this. Thinking
I had found the answer I clicked the above link only to be greeted
with a 404 error.

So does someone have the code for the solution or another solution
they can share?

Thanks

On Feb 1, 3:57 am, Andrew Stewart <b...@airbladesoftware.com> wrote:
> On 31 Jan 2008, at 16:53, John Joseph Bachir wrote:
>
> >> - What commands should one use when deploying withCapistranoso that

Mike Subelsky

unread,
Feb 21, 2008, 10:31:05 PM2/21/08
to god...@googlegroups.com
I put the mongrels in their own watch group, then in my deployment
recipe I use "sudo 'god restart mongrels'".

-Mike

Mike Subelsky
Hacker & Improvisor // subelsky.com

John Joseph Bachir

unread,
Feb 21, 2008, 10:40:25 PM2/21/08
to god...@googlegroups.com
On Thu, Feb 21, 2008 at 9:15 PM, Sean Geoghegan <sea...@gmail.com> wrote:
>
> I was wondering the same thing, did a search and found this. Thinking
> I had found the answer I clicked the above link only to be greeted
> with a 404 error.
>
> So does someone have the code for the solution or another solution
> they can share?


here's the new and improved version of that same code:

http://pastie.textmate.org/private/xnfrbmwsgqgadk0x5ygw1g

http://pastie.textmate.org/private/bwcevchjiscr9zvdqmuq

John

Reply all
Reply to author
Forward
0 new messages