Source config file if present for GeoServer setttings#420
Merged
chrisbennight merged 1 commit intomasterfrom Jun 10, 2015
Merged
Source config file if present for GeoServer setttings#420chrisbennight merged 1 commit intomasterfrom
chrisbennight merged 1 commit intomasterfrom
Conversation
Contributor
There was a problem hiding this comment.
Does this file get manage via alternatives?
(I can see arguments for different config files per version, but then I'm not sure what the expectation is re: upgrading - copy over currently linked file?)
Contributor
Author
There was a problem hiding this comment.
@chrisbennight The config file would not be managed by RPM and if absent you'd be using the default settings. I'd probably use Puppet to mange the file with something like the following.
# Bump up the memory allowed for GeoServer
file { '/etc/geowave/geowave.config':
ensure => file,
owner => 'geowave',
group => 'geowave',
mode => 644,
content => 'export JAVA_OPTS="-Xmx2500m -XX:MaxPermSize=128m"',
require => Package['geowave-core'],
notify => Service['geowave'],
}
chrisbennight
added a commit
that referenced
this pull request
Jun 10, 2015
Source config file if present for GeoServer setttings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will allow us to add GeoServer configs like Xmx2g on an app server node in an external file either manually or with something like Puppet. This will preserve the setting between upgrades and will not modify any RPM installed files.