How to add elasticsearch as a service in background in mac OS

Hi all,

I installed elasticsearch using tar package in mac OS.

To run elasticsearch, i run elasticsearch exe file in terminal.

If i close the terminal, elasticsearch service stops.

How do i run elasticsearch in background?

In windows, I add service in services section so that it is always running.

is there any way similar in MAC OS?

I think you could start with Install Elasticsearch on macOS with Homebrew | Elasticsearch Guide [7.13] | Elastic

I didn't get specific past releases in homebrew.
I actually used tar.gz darwin package to install specific version of elasticsearch.

Any hint on how to get it running in background or service?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.