Hi all! About module <biemond-wildfly> - more prec...
# forge-modules
e
Hi all! About module biemond-wildfly - more precisely, on domain.conf template: I found a need at work to make variables
PROCESS_CONTROLLER_JAVA_OPTS
and
HOST_CONTROLLER_JAVA_OPTS
have different values. That can be done by setting one of them in the environment before Wildfly loads
domain.conf
file. My question: would it be too much to patch this template, so it could accept custom options for each variable independently? Something like:
Copy code
if [ "x$PROCESS_CONTROLLER_JAVA_OPTS" = "x" ]; then
    PROCESS_CONTROLLER_JAVA_OPTS="$JAVA_OPTS <Process controller options>"
fi
if [ "x$HOST_CONTROLLER_JAVA_OPTS" = "x" ]; then
    HOST_CONTROLLER_JAVA_OPTS="$JAVA_OPTS <Host controller options>"
fi