From c9b0231f13d78920f7476267c152a9111609ec5f Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sun, 22 Mar 2020 17:28:45 +0000 Subject: [PATCH] Correct the home path PR: 244627 Submitted by: TAO ZHOU --- sysutils/beats/Makefile | 1 + sysutils/beats/files/filebeat.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sysutils/beats/Makefile b/sysutils/beats/Makefile index 219942f255ca..951ab40edd65 100644 --- a/sysutils/beats/Makefile +++ b/sysutils/beats/Makefile @@ -3,6 +3,7 @@ PORTNAME= beats PORTVERSION= 6.8.7 +PORTREVISION= 1 DISTVERSIONPREFIX=v CATEGORIES= sysutils diff --git a/sysutils/beats/files/filebeat.in b/sysutils/beats/files/filebeat.in index 4fb2d9d15f91..7574da715675 100644 --- a/sysutils/beats/files/filebeat.in +++ b/sysutils/beats/files/filebeat.in @@ -21,7 +21,7 @@ rcvar=${name}_enable load_rc_config $name : ${filebeat_enable:="NO"} -: ${filebeat_config:="-path.home /var/db/beats/${name} -path.config %%PREFIX%%/etc"} +: ${filebeat_config:="-path.home %%DATADIR%%/${name} -path.config %%PREFIX%%/etc"} # daemon start_precmd=filebeat_prestart