Hi guys, I'm developing a mailing system that need to have a deamon running. As solution to monitor its status, I decided to use god, and it works perfectly for what I have to do.
The problem is that when it is down, it does not start. To be precise in the log that god gives out, it show the command I need, but it doesn't take effect. Then if from the log I copy the exact string of the command, then the process start. For this reason I'm a bit confused. The others part such as the mail notification works just perfectly when the process is running, and I stop it. But also in this case, then it do not restart. I leave you the code I use for my god monitor [1], and the one that give as output [2] (in line 9 you can see the command that it should start, but that do not). Thanks a lot. It's all the afternoon and evening I try to figure out the motivation. [1] http://gist.github.com/90938 [2] http://gist.github.com/90939 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
