Skip to content

Commit

Permalink
Lavinmq service (#13)
Browse files Browse the repository at this point in the history
* add service to lavinmq formula

Co-authored-by: Robin Wallin <[email protected]>
  • Loading branch information
kickster97 and walro authored May 6, 2024
1 parent f93156f commit 0feea0b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Formula/lavinmq.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ def install
bin.install "bin/lavinmqperf"
end

service do
run [opt_bin/"lavinmq", "-D", var/"lavinmq"]
end

test do
system "#{bin}/lavinmq", "--version"
system "#{bin}/lavinmqctl", "--version"
Expand Down

0 comments on commit 0feea0b

Please sign in to comment.