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

Improve "Other config options" page #695

Open
deeaitche opened this issue Nov 10, 2022 · 4 comments
Open

Improve "Other config options" page #695

deeaitche opened this issue Nov 10, 2022 · 4 comments

Comments

@deeaitche
Copy link

I have just spent hours to figure out how to change the go-server's port. (Environment: Linux)

The official doc here does not provide enough information.

Workaround:

Adding wrapper.java.additional.{} property to /usr/share/go-server/wrapper-config/wrapper.conf

For example,

wrapper.java.additional.12=-Dcruise.server.port=28153
@chadlwilson
Copy link
Member

The linux docs at https://docs.gocd.org/current/installation/install/server/linux.html point to the best place to do this, which is /usr/share/go-server/wrapper-config/wrapper-properties.conf If you change wrapper.conf it is liable to be overridden when you upgrade your server. That file gives examples and instructions (e.g I would not suggest starting your numbering at 12 as if additional default server options/system properties need to be added, they might be overridden. Best to start at 100.

The challenge is that there are different ways to configure these args depending on whether you are containerised or not, or a different deployment type. Definitely could do with linking from these to the page with the various options though.

@deeaitche
Copy link
Author

The linux docs at https://docs.gocd.org/current/installation/install/server/linux.html point to the best place to do this, which is /usr/share/go-server/wrapper-config/wrapper-properties.conf If you change wrapper.conf it is liable to be overridden when you upgrade your server. That file gives examples and instructions (e.g I would not suggest starting your numbering at 12 as if additional default server options/system properties need to be added, they might be overridden. Best to start at 100.

Thanks! very useful.

@chadlwilson
Copy link
Member

chadlwilson commented Nov 11, 2022

@deeaitche For my own clarity, are you installing with the .deb, .rpm or just generic zip install on Linux? That'll help me validate some of the behaviour when upgrading an existing instance before I try to add some clarity to the docs.

@deeaitche
Copy link
Author

@chadlwilson I followed the linux docs to install via YUM.

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