Skip to content

Add JAVA_ARGS_DIST for service-specific java flags - #147

Merged
Sharpie merged 2 commits into
OpenVoxProject:mainfrom
Sharpie:add-java-args-dist
Sep 6, 2026
Merged

Add JAVA_ARGS_DIST for service-specific java flags#147
Sharpie merged 2 commits into
OpenVoxProject:mainfrom
Sharpie:add-java-args-dist

Conversation

@Sharpie

@Sharpie Sharpie commented Sep 6, 2026

Copy link
Copy Markdown
Member

Pull Request (PR) description

This commit adds support for a java-args-dist setting in the :ezbake section of project.clj. Any flags configured via this setting are used to populate a $JAVA_ARGS_DIST environment variable that is added to the ExecStart command.

This provides support for adding service-specific flags such as the --add-opens required by JRuby. Managing this outside of the environment files in /etc/sysconfig or /etc/default allows important settings to be added or removed by package upgrades.

This Pull Request (PR) fixes the following issues

This commit adds support for a `java-args-dist` setting in the `:ezbake`
section of `project.clj`. Any flags configured via this setting are
used to populate a `$JAVA_ARGS_DIST` environment variable that is added
to the `ExecStart` command.

This provides support for adding service-specific flags such as the
`--add-opens` required by JRuby. Managing this outside of the
environment files in `/etc/sysconfig` or `/etc/default` allows important
settings to be added or removed by package upgrades.

Signed-off-by: Charlie Sharpsteen <charlie@overlookinfratech.com>
@Sharpie Sharpie added the enhancement New feature or request label Sep 6, 2026
Signed-off-by: Charlie Sharpsteen <charlie@overlookinfratech.com>
@Sharpie
Sharpie enabled auto-merge September 6, 2026 14:32
@Sharpie
Sharpie disabled auto-merge September 6, 2026 14:33
@Sharpie
Sharpie merged commit e71b557 into OpenVoxProject:main Sep 6, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants