Hello all,

I wrote a simple God script to start thinking sphinx up if it goes
down, which is done via a rake task:
rake -f /path/to/my/app/Rakefile RAILS_ENV=production ts:start

This works fine if I start God using my username or via sudo. However,
if I rely on God as started up via rc.local at reboot, it tries
repeatedly to run the rake task but it never works. Checking the
searchd.log reveals the following:

[Thu Apr 16 23:05:09.060 2009] [ 4131] accepting connections
[Thu Apr 16 23:06:52.984 2009] [ 4131] caught SIGTERM, shutting down
[Thu Apr 16 23:06:52.984 2009] [ 4131] shutdown complete

Anyone know what's up with this? Or if there is a better way to start
God up at reboot?

Thanks for your help!

Regards,
Mike Laurence
--~--~---------~--~----~------------~-------~--~----~
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