I'm trying to use the :file_touched condition. I added:
on.condition(:file_touched) do |c|
c.path = 'tmp/restart.txt'
end
When I restart god it starts nicely and watches the :file_touched
condition. In the log I see:
D [2013-05-07 12:13:47] DEBUG: worker-0 FileTouched [false]
{true=>:restart}
Now when I touch the file the log shows the restart but never shows ANY
'god watching' of the process after that.
I [2013-05-07 12:15:51] INFO: worker-0 process stopped
I [2013-05-07 12:15:51] INFO: worker-0 start: bundle exec rake
resque:work
This is the last I get from 'worker-0'. God 'forgets' to monitor it
again?!?!
Any suggestions?
--
You received this message because you are subscribed to the Google Groups
"god.rb" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/god-rb?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.