Skip to content

Commit

Permalink
test parametrage datahub
Browse files Browse the repository at this point in the history
  • Loading branch information
cdebarros committed Sep 5, 2024
1 parent 08731e7 commit eb12b4c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tools/docker/docker-entrypoint-ign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ CONFIG_FILE_NAME=default.toml
if [ ! -z "${GN4_API_URL}" ]
then
echo "[INFO] Replacing GN4 url in conf with: ${GN4_API_URL}..."
chmod 775 ${APP_FILES_PATH}${CONFIG_FILE_PATH}${CONFIG_FILE_NAME}
sed "s%geonetwork4_api_url = \".*\"%geonetwork4_api_url = \"${GN4_API_URL}\"%" ${APP_FILES_PATH}${CONFIG_FILE_PATH}${CONFIG_FILE_NAME} > /tmp/${CONFIG_FILE_NAME}
rm -f ${APP_FILES_PATH}${CONFIG_FILE_PATH}${CONFIG_FILE_NAME}
cp /tmp/${CONFIG_FILE_NAME} ${APP_FILES_PATH}${CONFIG_FILE_PATH}${CONFIG_FILE_NAME}
chmod 444 ${APP_FILES_PATH}${CONFIG_FILE_PATH}${CONFIG_FILE_NAME}
rm -f /tmp/${CONFIG_FILE_NAME}
fi

Expand Down

0 comments on commit eb12b4c

Please sign in to comment.