Disassembler a12b0f101e
Update update-conf.sh, revert custom prop definitions
Partially reverts 0028a3ba5b1e20276a56024d1ba3ff60af6059c1
2020-04-10 13:03:34 +02:00

12 lines
271 B
Bash

#!/bin/sh
# Volumes
MOTECH_CONF="${VOLUMES_DIR}/motech/motech_conf"
# Variables
HOST="${HOST}.${DOMAIN}"
[ "${PORT}" != "443" ] && HOST="${HOST}:${PORT}"
# Replacements
sed -i "s|\(^server\.url=\).*|\1https://${HOST}|" ${MOTECH_CONF}/config/motech-settings.properties