Skip to content

Commit

Permalink
Update_kibana_full_to_use_new_homebrew_tap (#152)
Browse files Browse the repository at this point in the history
* Update kibana-full.rb change plist_options to service.require_root

* Update kibana-full.rb
  • Loading branch information
Step-henC authored Mar 21, 2024
1 parent 86ac2cc commit a157ed2
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions Formula/kibana-full.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,11 @@ def caveats; <<~EOS
EOS
end

plist_options :manual => "kibana"

def plist; <<~EOS
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>#{plist_name}</string>
<key>Program</key>
<string>#{opt_bin}/kibana</string>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
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
Expand Down

0 comments on commit a157ed2

Please sign in to comment.