Bug 228785

Summary: sysutils/beats does not respect rc variables
Product: Ports & Packages Reporter: bas
Component: Individual Port(s)Assignee: freebsd-elastic mailing list <elastic>
Status: New ---    
Severity: Affects Many People Flags: bugzilla: maintainer-feedback? (elastic)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description bas 2018-06-06 15:12:02 UTC
The rc scripts for the beats promise to respect for example the filebeat_conf variable, yet the script itself doesn't. Reproduce by setting filebeat_conf="/root/filebeat.yml" while removing /usr/local/etc/filebeat.yml from the system. Upon starting filebeat using /usr/local/etc/rc.d/filebeat start, a lot of noise will come your way about filebeat not being able to find /usr/local/etc/filebeat.yml.