From fadbee4ec472d7281d31aa18deaf782cb2421bb3 Mon Sep 17 00:00:00 2001 From: Stephen <98792412+Step-henC@users.noreply.github.com> Date: Mon, 31 Jul 2023 12:55:12 -0500 Subject: [PATCH 1/2] Update kibana-full.rb change plist_options to service.require_root --- Formula/kibana-full.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/kibana-full.rb b/Formula/kibana-full.rb index f6433b1..50d0063 100644 --- a/Formula/kibana-full.rb +++ b/Formula/kibana-full.rb @@ -47,7 +47,7 @@ def caveats; <<~EOS EOS end - plist_options :manual => "kibana" + service.require_root :manual => "kibana" def plist; <<~EOS From 08d3f2aa20a1a1da2702b6feb7a92c4421f92093 Mon Sep 17 00:00:00 2001 From: Stephen <98792412+Step-henC@users.noreply.github.com> Date: Mon, 31 Jul 2023 14:01:13 -0500 Subject: [PATCH 2/2] Update kibana-full.rb --- Formula/kibana-full.rb | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/Formula/kibana-full.rb b/Formula/kibana-full.rb index 50d0063..0743b72 100644 --- a/Formula/kibana-full.rb +++ b/Formula/kibana-full.rb @@ -47,23 +47,11 @@ def caveats; <<~EOS EOS end - service.require_root :manual => "kibana" - - def plist; <<~EOS - - - - - Label - #{plist_name} - Program - #{opt_bin}/kibana - RunAtLoad - - - - EOS + service do + run [opt_bin/"kibana"] + working_dir var + log_path var/"log/kibana.log" + error_log_path var/"log/kibana.log" end test do