Skip to content
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

New activemq_systemd_expand_environment parameter #165

Conversation

guidograzioli
Copy link
Member

@guidograzioli guidograzioli commented Sep 4, 2024

When the new parameter is set to true:

Variable Description Default
activemq_systemd_expand_environment Whether or not to expand the environment in the sysconfig file. If true, environment file is sourced and the activemq process is started in a shell false

the systemd unit template is changed to run the activemq process in a shell, sourcing the sysconfig environment file just before exection. This allows to use shell expansions in the environment file.

Examples:

activemq_systemd_expand_environment: true
activemq_java_opts_mem: '-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/var/log/amq_$(date "+%Y%m%d_%H%M%S").hprof'

@guidograzioli guidograzioli added the minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix label Sep 4, 2024
@guidograzioli guidograzioli changed the title Add activemq_systemd_expand_environment parameter Add activemq_systemd_expand_environment parameter Sep 4, 2024
@guidograzioli guidograzioli merged commit ebc8524 into ansible-middleware:main Sep 4, 2024
20 checks passed
@guidograzioli guidograzioli changed the title Add activemq_systemd_expand_environment parameter New activemq_systemd_expand_environment parameter Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant