Spotter-VM/lxc-apps/motech/install/update-conf.sh
2019-10-03 21:48:36 +02:00

6 lines
187 B
Bash

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