On 2012-07-13 13:23, Steve Moffat wrote:
Seeing as this is already labeled as "geeky", let me add that it is nice to put your PID in the lockfile so that if a new instance of the program finds it, it can determine if the lockfile is stale by checking for the PID of the program that created it.
Thumbs up... +1 or whatever agreement meme is popular these days. :)