antirez/redis — pull request #463 by rebx (2012-04-17 23:04:45+00:00)
Title: Proposal for src/redis.c:

If the config file has either specified "daemonize yes" or "pidfile [/path/to/redis.pid]" then it should create pidfile.

Some background for this is: I usually run redis via daemontools. That entails running redis-server on the foreground. Given that, I'd also want redis-server to create a pidfile so other processes (e.g. nagios) can run checks for that.