svn commit: r470949 - in head/sysutils/beats: . files
Palle Girgensohn
girgen at FreeBSD.org
Sat May 26 20:30:05 UTC 2018
Author: girgen
Date: Sat May 26 20:30:03 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
Modified:
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
Modified: head/sysutils/beats/Makefile
==============================================================================
--- head/sysutils/beats/Makefile Sat May 26 19:54:48 2018 (r470948)
+++ head/sysutils/beats/Makefile Sat May 26 20:30:03 2018 (r470949)
@@ -3,6 +3,7 @@
PORTNAME= beats
PORTVERSION= 6.2.4
+PORTREVISION= 1
DISTVERSIONPREFIX=v
CATEGORIES= sysutils
Modified: head/sysutils/beats/files/filebeat.in
==============================================================================
--- head/sysutils/beats/files/filebeat.in Sat May 26 19:54:48 2018 (r470948)
+++ head/sysutils/beats/files/filebeat.in Sat May 26 20:30:03 2018 (r470949)
@@ -27,7 +27,7 @@ load_rc_config $name
start_precmd=filebeat_prestart
command=/usr/sbin/daemon
pidfile="/var/run/${name}"
-command_args="-rP ${pidfile} %%PREFIX%%/sbin/${name} ${filebeat_config}"
+command_args="-rfP ${pidfile} %%PREFIX%%/sbin/${name} ${filebeat_config}"
filebeat_prestart() {
# Have to empty rc_flags so they don't get passed to daemon(8)
Modified: head/sysutils/beats/files/heartbeat.in
==============================================================================
--- head/sysutils/beats/files/heartbeat.in Sat May 26 19:54:48 2018 (r470948)
+++ head/sysutils/beats/files/heartbeat.in Sat May 26 20:30:03 2018 (r470949)
@@ -10,7 +10,7 @@
#
# heartbeat_enable (bool): Set to YES to enable heartbeat
# Default: NO
-# heartbeat_flags (str): Extra flags passed to heartbeat
+# heartbeat_flags (str): Extra flags passed to heartbeat
# heartbeat_conf (str): heartbeat configuration file
# Default: ${PREFIX}/etc/heartbeat.yml
@@ -27,7 +27,7 @@ load_rc_config $name
start_precmd=heartbeat_prestart
command=/usr/sbin/daemon
pidfile="/var/run/${name}"
-command_args="-rP ${pidfile} %%PREFIX%%/sbin/${name} ${heartbeat_config}"
+command_args="-rfP ${pidfile} %%PREFIX%%/sbin/${name} ${heartbeat_config}"
heartbeat_prestart() {
# Have to empty rc_flags so they don't get passed to daemon(8)
Modified: head/sysutils/beats/files/metricbeat.in
==============================================================================
--- head/sysutils/beats/files/metricbeat.in Sat May 26 19:54:48 2018 (r470948)
+++ head/sysutils/beats/files/metricbeat.in Sat May 26 20:30:03 2018 (r470949)
@@ -27,7 +27,7 @@ load_rc_config $name
start_precmd=metricbeat_prestart
command=/usr/sbin/daemon
pidfile="/var/run/${name}"
-command_args="-rP ${pidfile} -p ${pidfile}.child %%PREFIX%%/sbin/${name} ${metricbeat_config}"
+command_args="-rfP ${pidfile} -p ${pidfile}.child %%PREFIX%%/sbin/${name} ${metricbeat_config}"
metricbeat_prestart() {
# Have to empty rc_flags so they don't get passed to daemon(8)
Modified: head/sysutils/beats/files/packetbeat.in
==============================================================================
--- head/sysutils/beats/files/packetbeat.in Sat May 26 19:54:48 2018 (r470948)
+++ head/sysutils/beats/files/packetbeat.in Sat May 26 20:30:03 2018 (r470949)
@@ -27,7 +27,7 @@ load_rc_config $name
start_precmd=packetbeat_prestart
command=/usr/sbin/daemon
pidfile="/var/run/${name}"
-command_args="-rP ${pidfile} %%PREFIX%%/sbin/${name} ${packetbeat_config}"
+command_args="-rfP ${pidfile} %%PREFIX%%/sbin/${name} ${packetbeat_config}"
packetbeat_prestart() {
# Have to empty rc_flags so they don't get passed to daemon(8)
More information about the svn-ports-all
mailing list