multiple parameters not getting passed when I start my spring boot application in command line
问题 I want to override certain properties during deployment of my spring boot application. when I try the following it works sudo /etc/init.d/myapp start --app.env=prod I see the app.env is correctly set to prod (my /health just echoes this values) however when I set more than one property it did not work, sudo /etc/init.d/myapp start --app.env=prod --version=2.3.4 I see only app.env is correctly set. the version value is not overridden. why is it so? what is the right way to pass multiple