I''m trying to get a god script going to monitor a mail fetcher as outlined in Advanced rails recipse and mms2r peepcode. My script is: RAILS_ROOT = "/Users/foobar/some-app" God.watch do |w| FETCHER_SCRIPT = "#{RAILS_ROOT}/script/mail_fetcher" w.name = "fetcher-daemon" w.interval = 30.seconds # default w.start = "#{FETCHER_SCRIPT} start" w.stop = "#{FETCHER_SCRIPT} stop" w.restart = "#{FETCHER_SCRIPT} restart" w.start_grace = 10.seconds w.restart_grace = 10.seconds w.pid_file = File.join(RAILS_ROOT, ''log'', ''MailFetcherDaemon.pid'') w.behavior(:clean_pid_file) end Starting god with this script I see: I [2008-09-17 15:54:45] INFO: fetcher-daemon move ''unmonitored'' to ''up'' I [2008-09-17 15:54:45] INFO: fetcher-daemon moved ''unmonitored'' to ''up'' The fetcher script, however, does not get started. If I start it first, start god, kill the script, it also doesnt get started. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---