Hello,

Does anyone know how to manage a Rake task with God ?

My task is launched with : 'cd /home/to/web ; rake bt:server'

If god daemonize this task, it sotres the pid of the daemon in /var/
run/god. fine.

But it's the pid of : sh -c cd /home/to/web ; rake bt:server that is
stored in var/run/god.
Not the one of rake bt:server.

So one the Stop action is triggered, it's the wrong process that is
killed.

My question is :
How to redefine the god path (to avoid the 'cd /home/to/web)

OR

How to avoid god to create two process for a w.start = 'cd /home/to/
web ; rake bt:server'

Thanks a lot !
--~--~---------~--~----~------------~-------~--~----~
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