Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add service support #21

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
7 changes: 7 additions & 0 deletions bloop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ def install

prefix.install "bin"
end

service do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you maybe add a bit more information what does this do and why it is needed? Thanks!

run [opt_bin/"bloop", "server"]
keep_alive true
log_path "/tmp/homebrew.bloop.stdout.log"
error_log_path "/tmp/homebrew.bloop.stderr.log"
end

test do
end
Expand Down