You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/08/26 11:15:00 UTC

[jira] [Updated] (SOLR-14370) Refactor bin/solr to allow external override of Jetty modules

     [ https://issues.apache.org/jira/browse/SOLR-14370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated SOLR-14370:
----------------------------------
    Labels: pull-request-available  (was: )

> Refactor bin/solr to allow external override of Jetty modules
> -------------------------------------------------------------
>
>                 Key: SOLR-14370
>                 URL: https://issues.apache.org/jira/browse/SOLR-14370
>             Project: Solr
>          Issue Type: Improvement
>          Components: scripts and tools
>            Reporter: Andy Throgmorton
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The bin/solr script currently does not allow for externally overriding the modules passed to Jetty on startup.
> This PR adds the ability to override the Jetty modules on startup by setting {{JETTY_MODULES}} as an environment variable; when passed, bin/solr will pass through (and not clobber) the string verbatim into {{SOLR_JETTY_CONFIG}}. For example, you can now run:
> {{JETTY_MODULES=--module=foo bin/solr start}}
> We've added some custom Jetty modules that can be optionally enabled; this change allows us to keep our logic (regarding which modules to use) in a separate script, rather than maintaining a forked bin/solr.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org