Spotter-VM/lxc-apps/motech/install/update-conf.sh

6 lines
194 B
Bash
Raw Normal View History

#!/bin/sh
HOST="${DOMAIN}"
[ "${PORT}" != "443" ] && HOST="${DOMAIN}:${PORT}"
2019-10-05 16:34:10 +02:00
sed -i "s|\(^server\.url=\).*|\1https://motech.${HOST}|" /srv/motech/motech_conf/config/motech-settings.properties