-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Allow custom service names when installing on windows #25255
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
Conversation
|
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
|
@russcam can you take a look at this PR? I think you're most familiar with the Windows service installation (if I am mistaken let me know if there's someone better suited) |
|
@jasontedor done. |
|
Thanks for the responsiveness. Now that we have a reviewable PR, my first question would be: what's the reason for wanting to customize the service name? I understand that the feature is documented, but it appears that it's never worked and this is the first time that has come up. |
* master: (891 commits) Remove potential nio selector leak (#27825) Add skip versions for rank_eval yaml tests Painless: Clean Up Painless Cast Object (#27794) Allow `_doc` as a type. (#27816) Clarify using supported LTS versions of the Java Fixes ByteSizeValue to serialise correctly (#27702) Mute VersionUtilsTest#testGradleVersionsMatchVersionUtils [Docs] Correct spelling in update-settings.asciidoc (#27808) Add unreleased v6.1.1 version Add rank-eval module to transport client and HL client dependencies [Docs] Fix explanation of "cluster.routing.allocation.exclude" (#27735) Use CountedBitSet in LocalCheckpointTracker (#27793) docs: fix link [Test] Fix MigrationDocumentationIT.testClusterHealth (#27774) Remove some unused code (#27792) remove stale comment in IndexShard TEST: Update translog gen of the last commit Keep commits and translog up to the global checkpoint (#27606) Use SPI to provide named XContent parsers for ranking evaluation Packaging test: add guard for too many files ...
jasontedor
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
We document that users can set custom service names on Windows. Alas, the functionality does not work. This commit fixes the issue by passing the environment variable SERVICE_ID as the service name otherwise defaulting to elasticsearch-service-x64. Relates #25255
Fixes #25231.