amoffat/focus — pull request #4 by Ikke (2012-05-15 14:16:11+00:00)
Title: Write out a pidfile to make it easier to stop the script

For things like init/daemon scripts it would be easy to have a pid file.