Correct the home path
PR: 244627 Submitted by: TAO ZHOU <zhoutao@laocius.org>
This commit is contained in:
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
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= beats
|
||||
PORTVERSION= 6.8.7
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX=v
|
||||
CATEGORIES= sysutils
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue