Created attachment 193016 [details] patch filebeat rc.d script rc.d scripts should redirect stdout to /dev/null, otherwise it will cause unexpected problems. The issue I had recently is that saltstack cannot restart service filebeat. After I added '-f' flag to /usr/sbin/daemon, problem was solved. I hereby attached a patch. Can someone merge it to the port.
Committed. Thanks!
A commit references this bug: Author: girgen Date: Sat May 26 20:30:04 UTC 2018 New revision: 470949 URL: https://svnweb.freebsd.org/changeset/ports/470949 Log: Redirect stdout & stderr to /dev/null in rc.d scripts PR: 227945 Submitted by: TAO ZHOU Changes: head/sysutils/beats/Makefile head/sysutils/beats/files/filebeat.in head/sysutils/beats/files/heartbeat.in head/sysutils/beats/files/metricbeat.in head/sysutils/beats/files/packetbeat.in