Hello,

It seems like monkey-patching the Watch task is enough to allow such behavior. 
I don't know if there are side effects though.

https://gist.github.com/1292189

Cheers,
--  
Pierre.


--  
Pierre <[email protected]>
Circle me @ https://encrypted.google.com/profiles/octplane

Le vendredi 14 octobre 2011 à 15:20, Pierre Baillet a écrit :

> Hi,
>  
> I'm trying to restart a daemon that I have previously stopped. This
> doesn't work as expected, as it seems a stopped daemon will never
> start again. The sample code I've ended up with is 
> https://gist.github.com/1287060
> and basically implement a very simple daemon that runs every other
> minutes (of course, this is a simple proof of concept as I want to use
> the lambda feature to integrate with grid-wide daemon management
> later).
>  
> If anyone has an idea on how to have that behaviour, I'd be really
> cool !
>  
> Thanks for reading and thanks Tom, for god :)
>  
> --
> Pierre.
>  
> --  
> 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] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> For more options, visit this group at 
> http://groups.google.com/group/god-rb?hl=en.

-- 
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