When the process starts, or when it is started by a wrapper, the process writes it's pid to a file such as /var/run/my_app.pid
As the pid is always written to the same file monit can read the file and find the pid of the process and check that there is a process with that pid running. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

