Notable changes:
- automate pkg-plists
- Kibana: data dir is now correctly writable by www user
Differential Revision: https://reviews.freebsd.org/D14474
start/stop/status will behave correctly with procname set.
This now prevents Elastic from starting when a process is already
running, stops cleanly, and also handles multiple profiles correctly:
if only some of the profile processes are running, a "service
elasticsearch start" will only start the profiles that are not detected
as running already.
All of this comes with the caveat that Elastic is slow to start up and write
its pidfile, so if you are too quick it will allow duplicate processes
to start. Here be JVM dragons.
Approved by: portmgr (with hat)
MFH: 2018Q1