Calculating and setting custom JAVA_OPTS on Nuxeo startup

I would like to calculate and set a custom Java option during Nuxeo startup via shell scripting. Would it make sense for nuxeoctl to support a call out to an optional setenv.sh script much like Tomcat does for this purpose? I could wrap nuxeoctl with my own script and initialize JAVA_OPTS in this wrapper script. However, this approach may raise issues with Admin Center restarts, Nuxeo Control Panel restarts, etc. What are your thoughts?

0 votes

0 answers

1661 views

ANSWER