From 2cc4c457c17b63936c5865646f5c3851110b4b70 Mon Sep 17 00:00:00 2001 From: yugoslavskiy Date: Sat, 13 Jan 2018 21:53:02 +0100 Subject: [PATCH] packetbeat: use #{var}/log instead of #{var}/logs All the other elastic beats formulae (auditbeat, filebeat, heartbeat and metricbeat) have been using #{var}/log, so packetbeat should, too. Closes #22835. Signed-off-by: ilovezfs --- Formula/packetbeat.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Formula/packetbeat.rb b/Formula/packetbeat.rb index 1ad36f022f..863a32c935 100644 --- a/Formula/packetbeat.rb +++ b/Formula/packetbeat.rb @@ -3,7 +3,7 @@ class Packetbeat < Formula homepage "https://www.elastic.co/products/beats/packetbeat" url "https://github.com/elastic/beats/archive/v6.1.2.tar.gz" sha256 "e673b4f03bc73807d23083b8d6a5f45f5a8b3fa3a6709f89881a2debb10a8d2f" - + revision 1 head "https://github.com/elastic/beats.git" bottle do @@ -52,7 +52,7 @@ class Packetbeat < Formula exec #{libexec}/bin/packetbeat \ -path.config #{etc}/packetbeat \ -path.home #{prefix} \ - -path.logs #{var}/logs/packetbeat \ + -path.logs #{var}/log/packetbeat \ -path.data #{var}/lib/packetbeat \ "$@" EOS