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

Add proxy config option #4326

Open
tuxmaster5000 opened this issue Jul 4, 2022 · 2 comments
Open

Add proxy config option #4326

tuxmaster5000 opened this issue Jul 4, 2022 · 2 comments

Comments

@tuxmaster5000
Copy link

tuxmaster5000 commented Jul 4, 2022

In the /usr/share/mica2/bin/start.sh and /etc/default/mica2 files of the RPM package an proxy setting will be very helpful.
sample for default:
/etc/default/mica2

PROXY_ARGS=""

/usr/share/mica2/bin/start.sh

$JAVA $PROXY_ARGS $JAVA_ARGS -cp "${MICA_HOME}/conf:${MICA_DIST}/webapp/WEB-INF/classes:${MICA_DIST}/webapp/WEB-INF/lib/*" -DMICA_HOME=${MICA_HOME} -DMICA_DIST=${MICA_DIST} -DMICA_LOG=${MICA_LOG} org.obiba.mica.Application $MICA_ARGS              

This will enable systems like puppet to set the proxy settings easly in the /etc/default/mica2 file.

@ymarcon
Copy link
Member

ymarcon commented Jul 4, 2022

Couldn't these be included in the JAVA_ARGS ?

@tuxmaster5000
Copy link
Author

In the theory yes, but separate it, makes it mutch more simpler for automatic systems like puppet or ansible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants