I see in the source code that I could do something like
on.condition(:process_exits) do |c|
c.pid_file = "/var/run/mysqld/mysqld.pid"
c.notify = {contacts: ['developers'], priority: 1, category: 'staging'}
end
or
on.condition(:always) do |c|
c.what = true
c.notify = {contacts: ['developers'], priority: 1, category: 'staging'}
end
I have tried both of these but what ends up happening is that God.rb is not
restarting the process after I have turned it off and I still am not
receiving any notifications. I must be missing something, I just don't know
what it could be.
--
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.
For more options, visit https://groups.google.com/d/optout.