-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
elasticsearch service: remove postStart script #25701
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
elasticsearch service: remove postStart script #25701
Conversation
@fadenb, thanks for your PR! By analyzing the history of the files in this pull request, we identified @offlinehacker, @bjornfor and @rickynils to be potential reviewers. |
This is pretty tricky, I think our tests expect the port to be up when the unit is Started. No? |
There is no test for elasticsearch but for logstash. |
Just ran the logstash test. It loops until it gets the expected result.
|
Is there any better way to check if elasticsearch is listening? |
And I agree with pull request, I think it's ok to merge this, except if someone comes up some simple alternative solution. |
Motivation for this change
fixes #20560 by removing postStart.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)