sj26/mailcatcher — pull request #46 by fernandes (2012-06-11 15:11:30+00:00)
Title: support to write process id to a pid file

Have the process id is very useful when you are monitoring the application with some tool like god or munin.

When monitoring with God, is kinda impossible to quit the application in a fashion way without the pid, clicking on the web interface.

Thats why in this pull request you can specify the file to keep the pid (default to /tmp/mailcatcher.pid because /tmp is always writable on nix systems) or you can keep all your pids inside your app like RAILS_ROOT/tmp/pids