-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Improvements for the init script #3243
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
Conversation
|
Nice nice nice! 👍 One quick question, do you think |
|
/etc is the place where our sysadmins would expect the service config. But
when I think of it, it would be reasonable to look for the conf next to the
jar and sym link it in /etc
|
…y>.conf next to the jar-file
6bd4ca0 to
4f18e01
Compare
|
Updated the PR to look for the .conf file next to the jar |
|
Cool. Thanks |
|
+1 vote for this. One suggestion though, if you move the sourcing up to above the default settings, you can set the default params for these in the .conf file. |
* init-improvements: Update executable jar documentation Improve executable jar launch script
|
Thanks, I've squashed the commits together and reworked the ordering to follow @bedge's suggestion. |
Two separate commits with the following improvements:
if present source ${identity}.conf (next to the jar-file) before building the command using JAVA_OPTS and RUN_ARGS. So the .conf file can be used to specify JVM-options and default run-arguments
Add LSB-Header to the init-script. Though specifiying spring-boot-application as provides / short descriptions seems a bit odd.
CLA is signed,