elasticsearch/elasticsearch — comment on commit 682be7c63a24164c1b6c28a8a71a24450011ee0c
File: bin/elasticsearch line 125
By zir:

the pidfile should be created if `-p` option is specified even in foreground, what do you think?

My use case is to run elasticsearch with -f mode under supervisord.