ES 5.x does not create the PID file when starting with bin/elasticsearch -d -p pid

According the official document Elasticsearch should create a PID file when starting with the command bin/elasticsearch -d -p pid but it does not.

ES versions: 5.x
OS: macOS Sierra
Java: 1.8.0_91

All the versions 1.x & 2.x create the PID file when starting with that command. It seems this is a bug on 5.x.

Can you have a look at the logs? We use -p pid all the time.

My mistake, the PID file is created when Elasticsearch started completely.

Thanks @nik9000.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.