Update startup.sh

Co-authored-by: Reinout van Rees <reinout@vanrees.org>
pull/44/head
Jan-Otto Kröpke 2024-01-29 11:12:25 +01:00 committed by GitHub
parent e725d75cd9
commit c691b3578b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ if [ "${POSTGRES_JNDI_ENABLED}" = "true" ]; then
# Use a custom "web.xml" if the user mounted one into the container # Use a custom "web.xml" if the user mounted one into the container
if [ -d "${CONFIG_OVERRIDES_DIR}" ] && [ -f "${CONFIG_OVERRIDES_DIR}/web.xml" ]; then if [ -d "${CONFIG_OVERRIDES_DIR}" ] && [ -f "${CONFIG_OVERRIDES_DIR}/web.xml" ]; then
echo "Installing configuration override for web.xml with substituted environment variables" echo "Installing configuration override for web.xml with substituted environment variables"
envsubst < "${CONFIG_OVERRIDES_DIR}"/web.xml > "$CATALINA_HOME/webapps/geoserver/WEB-INF/web.xml" envsubst < "${CONFIG_OVERRIDES_DIR}"/web.xml > "${CATALINA_HOME}/webapps/geoserver/WEB-INF/web.xml"
fi fi
fi fi