Correct the home path

PR:		244627
Submitted by:	TAO ZHOU <zhoutao@laocius.org>
This commit is contained in:
Greg Lewis 2020-03-22 17:28:45 +00:00
parent 16a4d06d99
commit c9b0231f13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528929
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= beats
PORTVERSION= 6.8.7
PORTREVISION= 1
DISTVERSIONPREFIX=v
CATEGORIES= sysutils

View file

@ -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